Add check for OL host

This commit is contained in:
Alasdair Smith 2017-12-04 11:34:00 +00:00
parent f595009911
commit a25464d925

View file

@ -63,7 +63,7 @@ block content
aside.project-list-sidebar.col-md-2.col-xs-3
include ./list/side-bar
if isShowingV1Projects
if isShowingV1Projects && settings.overleaf && settings.overleaf.host
.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