mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-04 10:32:42 +00:00
Switch to existing v1 dash flag
This commit is contained in:
parent
d3b4567a5c
commit
f595009911
2 changed files with 1 additions and 2 deletions
|
@ -182,7 +182,6 @@ module.exports = ProjectController =
|
|||
hasSubscription: results.hasSubscription[0]
|
||||
isShowingV1Projects: results.v1Projects?
|
||||
noV1Connection: results.v1Projects?.noConnection
|
||||
showV1DashLink: true # TODO: false if SL
|
||||
}
|
||||
|
||||
if Settings?.algolia?.app_id? and Settings?.algolia?.read_only_api_key?
|
||||
|
|
|
@ -63,7 +63,7 @@ block content
|
|||
aside.project-list-sidebar.col-md-2.col-xs-3
|
||||
include ./list/side-bar
|
||||
|
||||
if showV1DashLink
|
||||
if isShowingV1Projects
|
||||
.project-list-sidebar-v1-link.col-md-2.col-xs-3
|
||||
span Want to go back to the V1 dashboard?
|
||||
a.btn.btn-default(href=settings.overleaf.host + "/dash") Go back to V1
|
||||
|
|
Loading…
Reference in a new issue