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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user