canAccessPremium check on enabled check

This commit is contained in:
Kyle Spearrin 2018-08-31 17:28:36 -04:00
parent e5226d7ffc
commit 1d941baff1
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
<div class="mx-4">
<h3 class="mb-0">
{{p.name}}
<i class="fa fa-check text-success fa-fw" *ngIf="p.enabled" title="{{'enabled' | i18n}}"></i>
<i class="fa fa-check text-success fa-fw" *ngIf="p.enabled && canAccessPremium" title="{{'enabled' | i18n}}"></i>
<a href="#" appStopClick class="badge badge-primary" *ngIf="!canAccessPremium && p.premium" (click)="premiumRequired()">
{{'premium' | i18n}}
</a>