RED-9578: filter files without warnings.
This commit is contained in:
parent
cdf39fd838
commit
b989da3f05
@ -119,7 +119,9 @@ export class BulkActionsService {
|
||||
return;
|
||||
}
|
||||
|
||||
const fileWarnings = approvalResponse.map(response => ({ fileId: response.fileId, fileWarnings: response.fileWarnings }));
|
||||
const fileWarnings = approvalResponse
|
||||
.filter(response => response.hasWarnings)
|
||||
.map(response => ({ fileId: response.fileId, fileWarnings: response.fileWarnings }));
|
||||
this._dialogService.openDialog(
|
||||
'confirm',
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user