RED-6176: Fixed save button disabled.
This commit is contained in:
parent
f3c8541fa1
commit
7784d0bdfc
@ -26,7 +26,7 @@
|
||||
(save)="assignReviewer(file, $event)"
|
||||
*ngIf="editingReviewer"
|
||||
[options]="usersOptions$ | async"
|
||||
[value]="file.assignee === null ? undefined : file.assignee"
|
||||
[value]="file.assignee"
|
||||
></redaction-assign-user-dropdown>
|
||||
|
||||
<div *ngIf="!editingReviewer && canAssign$ | async" class="assign-actions-wrapper">
|
||||
|
||||
@ -91,7 +91,6 @@ export class UserManagementComponent {
|
||||
this.usersOptions$ = combineLatest([this._canUnassignUser$, this.stateService.file$, this._dossier$]).pipe(
|
||||
map(([canUnassignUser, file, dossier]) => {
|
||||
const unassignUser = canUnassignUser && file.assignee ? [undefined] : [];
|
||||
console.log(unassignUser);
|
||||
return file.isUnderApproval
|
||||
? this.#customSort([...dossier.approverIds, ...unassignUser])
|
||||
: this.#customSort([...dossier.memberIds, ...unassignUser]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user