Team member improvements
This commit is contained in:
parent
42c5e53bdc
commit
e3c8b20205
@ -67,7 +67,7 @@
|
||||
<redaction-round-checkbox [active]="isApprover(userId)" class="mr-8"></redaction-round-checkbox>
|
||||
<span [translate]="'assign-' + data.type + '-owner.dialog.make-approver'"></span>
|
||||
</div>
|
||||
<mat-icon *ngIf="!isOwner(userId)" [svgIcon]="'red:' + (isMemberSelected(userId) ? 'close' : 'check')"></mat-icon>
|
||||
<mat-icon *ngIf="!isOwner(userId)" svgIcon="red:check"></mat-icon>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -55,15 +55,9 @@ redaction-team-members {
|
||||
}
|
||||
}
|
||||
|
||||
&.selected {
|
||||
.actions {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
&.selected,
|
||||
&:hover {
|
||||
background-color: $grey-2;
|
||||
|
||||
.actions {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@ -61,6 +61,7 @@ export class AssignOwnerDialogComponent {
|
||||
const searchQuery = this.searchForm.get('query').value;
|
||||
return this.userService.eligibleUsers
|
||||
.filter((user) => this.userService.getNameForId(user.userId).toLowerCase().includes(searchQuery.toLowerCase()))
|
||||
.filter((user) => this.selectedSingleUser !== user.userId)
|
||||
.map((user) => user.userId);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user