mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
Conditionally display new copy under subscriptions table [AC-1657] (#6332)
* Add copy to translations * Add copy to premium user subscription page * Add copy to organization user subscription page * Conditionally display copy on premium user subscription page * Conditionally display copy on organization user subscription page * Update translations to approved copy
This commit is contained in:
@@ -206,6 +206,10 @@ export class UserSubscriptionComponent implements OnInit {
|
||||
return this.sub != null ? this.sub.upcomingInvoice : null;
|
||||
}
|
||||
|
||||
get discount() {
|
||||
return this.sub != null ? this.sub.discount : null;
|
||||
}
|
||||
|
||||
get storagePercentage() {
|
||||
return this.sub != null && this.sub.maxStorageGb
|
||||
? +(100 * (this.sub.storageGb / this.sub.maxStorageGb)).toFixed(2)
|
||||
|
||||
Reference in New Issue
Block a user