mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
[PM-15179] Implement add-existing-organization-dialog.component (#13010)
* Implement add-existing-organization-dialog.component * Add missing button type * Thomas' feedback * Import order issue
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { BaseResponse } from "@bitwarden/common/models/response/base.response";
|
||||
|
||||
export class AddableOrganizationResponse extends BaseResponse {
|
||||
id: string;
|
||||
plan: string;
|
||||
name: string;
|
||||
seats: number;
|
||||
disabled: boolean;
|
||||
|
||||
constructor(response: any) {
|
||||
super(response);
|
||||
this.id = this.getResponseProperty("id");
|
||||
this.plan = this.getResponseProperty("plan");
|
||||
this.name = this.getResponseProperty("name");
|
||||
this.seats = this.getResponseProperty("seats");
|
||||
this.disabled = this.getResponseProperty("disabled");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user