Improve condition to avoid linking sixpack directives when project loads.

This commit is contained in:
Paulo Reis 2016-10-28 14:40:04 +01:00
parent 8157f68393
commit 4721fd450c

View file

@ -1,6 +1,6 @@
div#history(ng-show="ui.view == 'history'")
span(ng-controller="HistoryPremiumPopup")
.upgrade-prompt(ng-if="project.features.versioning === false")
.upgrade-prompt(ng-if="project.features.versioning === false && ui.view === 'history'")
div(sixpack-switch="teaser-history")
.message(