1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

mac app store fixes

This commit is contained in:
Kyle Spearrin
2018-02-27 22:15:52 -05:00
parent d2338b4817
commit 270328d5b3
4 changed files with 88 additions and 86 deletions

View File

@@ -42,8 +42,7 @@
</div>
</div>
<div class="modal-footer">
<button type="button" class="primary" appBlurClick (click)="manage()"
*ngIf="isPremium && showManageMembership">
<button type="button" class="primary" appBlurClick (click)="manage()" *ngIf="isPremium">
<b>{{'premiumManage' | i18n}}</b>
</button>
<button type="button" class="primary" appBlurClick (click)="purchase()" *ngIf="!isPremium">

View File

@@ -19,7 +19,6 @@ import { TokenService } from 'jslib/abstractions/token.service';
})
export class PremiumComponent implements OnInit {
isPremium: boolean = false;
showManageMembership: boolean = false;
price: string = '$10';
refreshPromise: Promise<any>;
@@ -29,7 +28,6 @@ export class PremiumComponent implements OnInit {
async ngOnInit() {
this.isPremium = this.tokenService.getPremium();
this.showManageMembership = !this.platformUtilsService.isMacAppStore();
}
async refresh() {