1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

split billing and subscription management up

This commit is contained in:
Kyle Spearrin
2019-02-18 15:28:23 -05:00
parent af8ab752ad
commit 92b2601ba2
14 changed files with 645 additions and 636 deletions

View File

@@ -45,7 +45,7 @@ export class PremiumComponent implements OnInit {
this.canAccessPremium = await this.userService.canAccessPremium();
const premium = await this.tokenService.getPremium();
if (premium) {
this.router.navigate(['/settings/billing']);
this.router.navigate(['/settings/subscription']);
return;
}
}
@@ -95,7 +95,7 @@ export class PremiumComponent implements OnInit {
this.analytics.eventTrack.next({ action: 'Signed Up Premium' });
this.toasterService.popAsync('success', null, this.i18nService.t('premiumUpdated'));
this.messagingService.send('purchasedPremium');
this.router.navigate(['/settings/billing']);
this.router.navigate(['/settings/subscription']);
}
get additionalStorageTotal(): number {