1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-28 19:02:42 +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">
<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>