Fix acceptance test when overleaf setting not present

This commit is contained in:
James Allen 2018-01-04 15:49:31 +00:00
parent e58f6cab47
commit 626e0a16ef

View file

@ -5,10 +5,11 @@
tooltip-append-to-body="true"
)
span
a.projectName(
href=settings.overleaf.host + "/{{project.id}}"
target="_blank"
) {{project.name}}
if settings.overleaf && settings.overleaf.host
a.projectName(
href=settings.overleaf.host + "/{{project.id}}"
target="_blank"
) {{project.name}}
//- To re-enable the import dialog (may need style changing for padding/line-height):
//- button.btn.btn-link.projectName(
//- ng-click="openV1ImportModal(project)"