mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-04 18:37:45 +01:00
work: added support for new props (#4567)
Co-authored-by: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com> Co-authored-by: Todd Martin <106564991+trmartin4@users.noreply.github.com>
This commit is contained in:
parent
72283d0a35
commit
16fcc22677
@ -15,6 +15,7 @@ export class OrganizationUserView {
|
|||||||
resetPasswordEnrolled: boolean;
|
resetPasswordEnrolled: boolean;
|
||||||
name: string;
|
name: string;
|
||||||
email: string;
|
email: string;
|
||||||
|
avatarColor: string;
|
||||||
twoFactorEnabled: boolean;
|
twoFactorEnabled: boolean;
|
||||||
usesKeyConnector: boolean;
|
usesKeyConnector: boolean;
|
||||||
|
|
||||||
|
@ -144,6 +144,7 @@
|
|||||||
size="small"
|
size="small"
|
||||||
[text]="u | userName"
|
[text]="u | userName"
|
||||||
[id]="u.userId"
|
[id]="u.userId"
|
||||||
|
[color]="u.avatarColor"
|
||||||
class="tw-mr-3"
|
class="tw-mr-3"
|
||||||
></bit-avatar>
|
></bit-avatar>
|
||||||
<div class="tw-flex tw-flex-col">
|
<div class="tw-flex tw-flex-col">
|
||||||
|
@ -44,6 +44,7 @@ export class OrganizationUserResponse extends BaseResponse {
|
|||||||
export class OrganizationUserUserDetailsResponse extends OrganizationUserResponse {
|
export class OrganizationUserUserDetailsResponse extends OrganizationUserResponse {
|
||||||
name: string;
|
name: string;
|
||||||
email: string;
|
email: string;
|
||||||
|
avatarColor: string;
|
||||||
twoFactorEnabled: boolean;
|
twoFactorEnabled: boolean;
|
||||||
usesKeyConnector: boolean;
|
usesKeyConnector: boolean;
|
||||||
|
|
||||||
@ -51,6 +52,7 @@ export class OrganizationUserUserDetailsResponse extends OrganizationUserRespons
|
|||||||
super(response);
|
super(response);
|
||||||
this.name = this.getResponseProperty("Name");
|
this.name = this.getResponseProperty("Name");
|
||||||
this.email = this.getResponseProperty("Email");
|
this.email = this.getResponseProperty("Email");
|
||||||
|
this.avatarColor = this.getResponseProperty("AvatarColor");
|
||||||
this.twoFactorEnabled = this.getResponseProperty("TwoFactorEnabled");
|
this.twoFactorEnabled = this.getResponseProperty("TwoFactorEnabled");
|
||||||
this.usesKeyConnector = this.getResponseProperty("UsesKeyConnector") ?? false;
|
this.usesKeyConnector = this.getResponseProperty("UsesKeyConnector") ?? false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user