updated assign modal to display 'Unassigned' option also for assign approver action
This commit is contained in:
parent
d77f443ce7
commit
2cd28e813f
@ -127,7 +127,7 @@ export class FileActionsComponent extends AutoUnsubscribe implements OnDestroy,
|
|||||||
const mode = this.file.isUnderApproval ? 'approver' : 'reviewer';
|
const mode = this.file.isUnderApproval ? 'approver' : 'reviewer';
|
||||||
const files = [this.file];
|
const files = [this.file];
|
||||||
const withCurrentUserAsDefault = true;
|
const withCurrentUserAsDefault = true;
|
||||||
const withUnassignedOption = mode === 'reviewer';
|
const withUnassignedOption = true;
|
||||||
this._dialogService.openDialog('assignFile', $event, { mode, files, withCurrentUserAsDefault, withUnassignedOption });
|
this._dialogService.openDialog('assignFile', $event, { mode, files, withCurrentUserAsDefault, withUnassignedOption });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user