mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-20 02:01:47 +01:00
work: frontend changes (#4477)
This commit is contained in:
parent
7dcaff886e
commit
139826ffe6
@ -34,7 +34,12 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr *ngFor="let c of trustedContacts; let i = index">
|
<tr *ngFor="let c of trustedContacts; let i = index">
|
||||||
<td width="30">
|
<td width="30">
|
||||||
<bit-avatar [text]="c | userName" [id]="c.granteeId" size="small"></bit-avatar>
|
<bit-avatar
|
||||||
|
[text]="c | userName"
|
||||||
|
[id]="c.granteeId"
|
||||||
|
[color]="c.avatarColor"
|
||||||
|
size="small"
|
||||||
|
></bit-avatar>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="#" appStopClick (click)="edit(c)">{{ c.email }}</a>
|
<a href="#" appStopClick (click)="edit(c)">{{ c.email }}</a>
|
||||||
@ -142,7 +147,12 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr *ngFor="let c of grantedContacts; let i = index">
|
<tr *ngFor="let c of grantedContacts; let i = index">
|
||||||
<td width="30">
|
<td width="30">
|
||||||
<bit-avatar [text]="c | userName" [id]="c.grantorId" size="small"></bit-avatar>
|
<bit-avatar
|
||||||
|
[text]="c | userName"
|
||||||
|
[id]="c.grantorId"
|
||||||
|
[color]="c.avatarColor"
|
||||||
|
size="small"
|
||||||
|
></bit-avatar>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span>{{ c.email }}</span>
|
<span>{{ c.email }}</span>
|
||||||
|
@ -14,6 +14,7 @@ export class EmergencyAccessGranteeDetailsResponse extends BaseResponse {
|
|||||||
status: EmergencyAccessStatusType;
|
status: EmergencyAccessStatusType;
|
||||||
waitTimeDays: number;
|
waitTimeDays: number;
|
||||||
creationDate: string;
|
creationDate: string;
|
||||||
|
avatarColor: string;
|
||||||
|
|
||||||
constructor(response: any) {
|
constructor(response: any) {
|
||||||
super(response);
|
super(response);
|
||||||
@ -25,6 +26,7 @@ export class EmergencyAccessGranteeDetailsResponse extends BaseResponse {
|
|||||||
this.status = this.getResponseProperty("Status");
|
this.status = this.getResponseProperty("Status");
|
||||||
this.waitTimeDays = this.getResponseProperty("WaitTimeDays");
|
this.waitTimeDays = this.getResponseProperty("WaitTimeDays");
|
||||||
this.creationDate = this.getResponseProperty("CreationDate");
|
this.creationDate = this.getResponseProperty("CreationDate");
|
||||||
|
this.avatarColor = this.getResponseProperty("AvatarColor");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -37,6 +39,7 @@ export class EmergencyAccessGrantorDetailsResponse extends BaseResponse {
|
|||||||
status: EmergencyAccessStatusType;
|
status: EmergencyAccessStatusType;
|
||||||
waitTimeDays: number;
|
waitTimeDays: number;
|
||||||
creationDate: string;
|
creationDate: string;
|
||||||
|
avatarColor: string;
|
||||||
|
|
||||||
constructor(response: any) {
|
constructor(response: any) {
|
||||||
super(response);
|
super(response);
|
||||||
@ -48,6 +51,7 @@ export class EmergencyAccessGrantorDetailsResponse extends BaseResponse {
|
|||||||
this.status = this.getResponseProperty("Status");
|
this.status = this.getResponseProperty("Status");
|
||||||
this.waitTimeDays = this.getResponseProperty("WaitTimeDays");
|
this.waitTimeDays = this.getResponseProperty("WaitTimeDays");
|
||||||
this.creationDate = this.getResponseProperty("CreationDate");
|
this.creationDate = this.getResponseProperty("CreationDate");
|
||||||
|
this.avatarColor = this.getResponseProperty("AvatarColor");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user