1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

[EC-247] Add columns to provider portal clients table (#3147)

* Added properties "userCount", "seats" and "plan" to ProviderOrganizationResponse

* Added text message "numberOfUsers"

* Updated provider clients component with new columns

* Removed never used dependency

* Changed userCount to non nullable number

* Added condition on the component to only show seats number if not null

* Changed view condition to an explicit check
This commit is contained in:
Rui Tomé
2022-07-28 09:31:57 +01:00
committed by GitHub
parent 2c9ccefa12
commit da341e1317
3 changed files with 24 additions and 0 deletions

View File

@@ -8,6 +8,9 @@ export class ProviderOrganizationResponse extends BaseResponse {
settings: string;
creationDate: string;
revisionDate: string;
userCount: number;
seats?: number;
plan?: string;
constructor(response: any) {
super(response);
@@ -18,6 +21,9 @@ export class ProviderOrganizationResponse extends BaseResponse {
this.settings = this.getResponseProperty("Settings");
this.creationDate = this.getResponseProperty("CreationDate");
this.revisionDate = this.getResponseProperty("RevisionDate");
this.userCount = this.getResponseProperty("UserCount");
this.seats = this.getResponseProperty("Seats");
this.plan = this.getResponseProperty("Plan");
}
}