1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 02:33:46 +00:00

adjust payment

This commit is contained in:
Kyle Spearrin
2018-06-30 13:36:39 -04:00
parent 37026e556f
commit d509637623
13 changed files with 128 additions and 13 deletions

View File

@@ -27,6 +27,7 @@ export class UserBillingComponent implements OnInit {
firstLoaded = false;
adjustStorageAdd = true;
showAdjustStorage = false;
showAdjustPayment = false;
billing: BillingResponse;
paymentMethodType = PaymentMethodType;
@@ -109,17 +110,22 @@ export class UserBillingComponent implements OnInit {
this.showAdjustStorage = true;
}
adjustedStorage(gbAmount: number) {
this.showAdjustStorage = false;
this.load();
}
canceledAdjustStorage() {
closeStorage(load: boolean) {
this.showAdjustStorage = false;
if (load) {
this.load();
}
}
changePayment() {
this.showAdjustPayment = true;
}
closePayment(load: boolean) {
this.showAdjustPayment = false;
if (load) {
this.load();
}
}
get subscriptionMarkedForCancel() {