Merge pull request #1338 from sharelatex/as-remove-import-modal

Don't show project import modal if feature flag is set

GitOrigin-RevId: f48d5e5cc795030d6c3332f5fde744d2e67f6366
This commit is contained in:
Alasdair Smith 2019-01-04 10:34:34 +00:00 committed by sharelatex
parent ccb9ae6317
commit 9737a04125

View file

@ -7,6 +7,9 @@
)
span
if settings.overleaf && settings.overleaf.host
if hasFeature('force-import-to-v2')
a.projectName(href='/{{project.id}}') {{project.name}}
else
button.btn.btn-link.projectName(
ng-click="openV1ImportModal(project)"
stop-propagation="click"