From 4721fd450c92ed4d0d113d1d372f69a2d9d658ad Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Fri, 28 Oct 2016 14:40:04 +0100 Subject: [PATCH] Improve condition to avoid linking sixpack directives when project loads. --- services/web/app/views/project/editor/history.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/views/project/editor/history.jade b/services/web/app/views/project/editor/history.jade index fa86ce9030..3799b22363 100644 --- a/services/web/app/views/project/editor/history.jade +++ b/services/web/app/views/project/editor/history.jade @@ -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(