Make update button dependent on the sourceTarballUrl instead of the subscription type

This commit is contained in:
Johannes Zellner
2018-03-14 19:53:17 +01:00
parent 8b5a88ba5e
commit a618f2b523
+1 -1
View File
@@ -189,7 +189,7 @@
<span class="badge badge-success">Update available</span>
</a>
</li>
<li ng-show="appstoreConfig && !config.update.box && user.admin && (currentSubscription.plan.id === 'undecided' || currentSubscription.plan.id === 'free')">
<li ng-show="appstoreConfig && !config.update.box && user.admin && !config.update.box.sourceTarballUrl">
<a ng-href="" ng-click="showSubscriptionModal()" style="cursor: pointer">
<span class="badge badge-success">FREE TRIAL</span>
</a>