From 2cd28e813fc5a6dc8f87ae4c02ce7757dd9a9928 Mon Sep 17 00:00:00 2001 From: Valentin Date: Tue, 23 Nov 2021 13:21:27 +0200 Subject: [PATCH] updated assign modal to display 'Unassigned' option also for assign approver action --- .../shared/components/file-actions/file-actions.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/red-ui/src/app/modules/dossier/shared/components/file-actions/file-actions.component.ts b/apps/red-ui/src/app/modules/dossier/shared/components/file-actions/file-actions.component.ts index 0f7d29d3c..31680adf7 100644 --- a/apps/red-ui/src/app/modules/dossier/shared/components/file-actions/file-actions.component.ts +++ b/apps/red-ui/src/app/modules/dossier/shared/components/file-actions/file-actions.component.ts @@ -127,7 +127,7 @@ export class FileActionsComponent extends AutoUnsubscribe implements OnDestroy, const mode = this.file.isUnderApproval ? 'approver' : 'reviewer'; const files = [this.file]; const withCurrentUserAsDefault = true; - const withUnassignedOption = mode === 'reviewer'; + const withUnassignedOption = true; this._dialogService.openDialog('assignFile', $event, { mode, files, withCurrentUserAsDefault, withUnassignedOption }); }