From a25464d9256654e549ef22415d7cce4174a2a439 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Mon, 4 Dec 2017 11:34:00 +0000 Subject: [PATCH] Add check for OL host --- services/web/app/views/project/list.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/views/project/list.pug b/services/web/app/views/project/list.pug index c1c708de1f..26c2082968 100644 --- a/services/web/app/views/project/list.pug +++ b/services/web/app/views/project/list.pug @@ -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