Jelajahi Sumber

Avoid linking sixpack directives when project loads.

Paulo Reis 10 tahun lalu
induk
melakukan
8157f68393
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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'")
 div#history(ng-show="ui.view == 'history'")
 	span(ng-controller="HistoryPremiumPopup")
 	span(ng-controller="HistoryPremiumPopup")
-		.upgrade-prompt(ng-show="!project.features.versioning")
+		.upgrade-prompt(ng-if="project.features.versioning === false")
 			
 			
 			div(sixpack-switch="teaser-history")
 			div(sixpack-switch="teaser-history")
 				.message(
 				.message(