mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-25 16:59:17 +01:00
add storage gb info to org
This commit is contained in:
parent
4d702f4de3
commit
aa811e51c3
@ -18,6 +18,7 @@ export class OrganizationData {
|
||||
usersGetPremium: boolean;
|
||||
seats: number;
|
||||
maxCollections: number;
|
||||
maxStorageGb?: number;
|
||||
|
||||
constructor(response: ProfileOrganizationResponse) {
|
||||
this.id = response.id;
|
||||
@ -34,5 +35,6 @@ export class OrganizationData {
|
||||
this.usersGetPremium = response.usersGetPremium;
|
||||
this.seats = response.seats;
|
||||
this.maxCollections = response.maxCollections;
|
||||
this.maxStorageGb = response.maxStorageGb;
|
||||
}
|
||||
}
|
||||
|
@ -18,6 +18,7 @@ export class Organization {
|
||||
usersGetPremium: boolean;
|
||||
seats: number;
|
||||
maxCollections: number;
|
||||
maxStorageGb?: number;
|
||||
|
||||
constructor(obj?: OrganizationData) {
|
||||
if (obj == null) {
|
||||
@ -38,6 +39,7 @@ export class Organization {
|
||||
this.usersGetPremium = obj.usersGetPremium;
|
||||
this.seats = obj.seats;
|
||||
this.maxCollections = obj.maxCollections;
|
||||
this.maxStorageGb = obj.maxStorageGb;
|
||||
}
|
||||
|
||||
get canAccess() {
|
||||
|
Loading…
Reference in New Issue
Block a user