1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-29 12:55:21 +01:00

[PM 5011][PM-8562] migrate user subscription component (#9499)

* migrate user subscription along with update license dialog

* migrate user subscription along with update license dialog

* migrate user subscription along with update license dialog
This commit is contained in:
vinith-kovan 2024-06-04 23:26:20 +05:30 committed by GitHub
parent 13c2c2ecaa
commit 9322dacbd4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -146,8 +146,7 @@ export class UserSubscriptionComponent implements OnInit {
} }
}; };
adjustStorage = (add: boolean) => { adjustStorage = async (add: boolean) => {
return async () => {
const dialogRef = openAdjustStorageDialog(this.dialogService, { const dialogRef = openAdjustStorageDialog(this.dialogService, {
data: { data: {
storageGbPrice: 4, storageGbPrice: 4,
@ -159,7 +158,6 @@ export class UserSubscriptionComponent implements OnInit {
await this.load(); await this.load();
} }
}; };
};
get subscriptionMarkedForCancel() { get subscriptionMarkedForCancel() {
return ( return (