Kaynağa Gözat

Add query param to mark as explicitly using V1 dash

Alasdair Smith 9 yıl önce
ebeveyn
işleme
1fd518ec58
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      services/web/app/views/project/list.pug

+ 2 - 1
services/web/app/views/project/list.pug

@@ -66,7 +66,8 @@ block content
 					if isShowingV1Projects && settings.overleaf && settings.overleaf.host
 					if isShowingV1Projects && settings.overleaf && settings.overleaf.host
 						.project-list-sidebar-v1-link.col-md-2.col-xs-3
 						.project-list-sidebar-v1-link.col-md-2.col-xs-3
 							span Want to go back to the V1 dashboard?
 							span Want to go back to the V1 dashboard?
-							a.btn.btn-default(href=settings.overleaf.host + "/dash") Go back to V1
+							a.btn.btn-default(href=settings.overleaf.host + "/dash?remember-dash=1")
+								| Go back to V1
 
 
 					.project-list-main.col-md-10.col-xs-9
 					.project-list-main.col-md-10.col-xs-9
 						include ./list/notifications
 						include ./list/notifications