Skip to content

Commit

Permalink
Merge pull request #847 from europeana/feat/MET-5993-Metis-Logs-Error
Browse files Browse the repository at this point in the history
Feat/met 5993 metis logs error
  • Loading branch information
andyjmaclean authored May 30, 2024
2 parents b4e9fd3 + 6209531 commit 622499d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions projects/metis/src/app/_models/workflow-execution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ export function getCurrentPlugin(workflow: WorkflowExecution): PluginExecution {
export function executionsIncludeDeleted(pluginExecutions: Array<PluginExecution>): boolean {
return !!pluginExecutions.find((pe: PluginExecution) => {
const ep = pe.executionProgress;
if(!ep){
return false;
if (ep) {
return typeof ep.deletedRecords !== 'undefined' && ep.deletedRecords > 0;
}
return typeof ep!.deletedRecords !== 'undefined' && ep!.deletedRecords > 0;
return false;
});
}

0 comments on commit 622499d

Please sign in to comment.