Explorar o código

Improve condition to avoid linking sixpack directives when project loads.

Paulo Reis %!s(int64=10) %!d(string=hai) anos
pai
achega
4721fd450c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/web/app/views/project/editor/history.jade

+ 1 - 1
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(