1
0
mirror of https://github.com/bitwarden/web synced 2026-01-02 00:23:16 +00:00

create and update premium license for self host

This commit is contained in:
Kyle Spearrin
2018-07-02 10:30:51 -04:00
parent 463c1f8b77
commit 3bb667f524
10 changed files with 160 additions and 21 deletions

View File

@@ -26,6 +26,7 @@ export class UserBillingComponent implements OnInit {
adjustStorageAdd = true;
showAdjustStorage = false;
showAdjustPayment = false;
showUpdateLicense = false;
billing: BillingResponse;
paymentMethodType = PaymentMethodType;
selfHosted = false;
@@ -110,6 +111,14 @@ export class UserBillingComponent implements OnInit {
if (this.loading) {
return;
}
this.showUpdateLicense = true;
}
closeUpdateLicense(load: boolean) {
this.showUpdateLicense = false;
if (load) {
this.load();
}
}
adjustStorage(add: boolean) {