We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4e9fd3 + 6209531 commit 622499dCopy full SHA for 622499d
projects/metis/src/app/_models/workflow-execution.ts
@@ -214,9 +214,9 @@ export function getCurrentPlugin(workflow: WorkflowExecution): PluginExecution {
214
export function executionsIncludeDeleted(pluginExecutions: Array<PluginExecution>): boolean {
215
return !!pluginExecutions.find((pe: PluginExecution) => {
216
const ep = pe.executionProgress;
217
- if(!ep){
218
- return false;
+ if (ep) {
+ return typeof ep.deletedRecords !== 'undefined' && ep.deletedRecords > 0;
219
}
220
- return typeof ep!.deletedRecords !== 'undefined' && ep!.deletedRecords > 0;
+ return false;
221
});
222
0 commit comments