RED-4654: Fixed under review bulk action.
This commit is contained in:
parent
117db2bd89
commit
57b035c86f
@ -82,6 +82,9 @@ export class BulkActionsService {
|
||||
|
||||
async backToUnderReview(files: File[]): Promise<void> {
|
||||
this._loadingService.start();
|
||||
if (files.filter(file => file.workflowStatus === 'NEW').length === files.length) {
|
||||
await this._fileAssignService.assignToMe(files);
|
||||
}
|
||||
await firstValueFrom(this._filesService.setUnderReviewFor(files, files[0].dossierId));
|
||||
this._loadingService.stop();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user