1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-30 13:03:53 +01:00

canAccessPremium check on enabled check

This commit is contained in:
Kyle Spearrin 2018-08-31 17:28:36 -04:00
parent e5226d7ffc
commit 1d941baff1

View File

@ -21,7 +21,7 @@
<div class="mx-4"> <div class="mx-4">
<h3 class="mb-0"> <h3 class="mb-0">
{{p.name}} {{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()"> <a href="#" appStopClick class="badge badge-primary" *ngIf="!canAccessPremium && p.premium" (click)="premiumRequired()">
{{'premium' | i18n}} {{'premium' | i18n}}
</a> </a>