Skip to content

Commit

Permalink
reduce function now accepts 'expired', 'deleted' drops contributing t…
Browse files Browse the repository at this point in the history
…o a 'finished' status - which is in fact the case but was not showing as such before.
  • Loading branch information
pritchardn committed Jul 6, 2022
1 parent 90f0170 commit 1fc5c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daliuge-engine/dlg/manager/web/static/js/dm.js
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ function startGraphStatusUpdates(serverUrl, sessionId, selectedNode, delay,

var allCompleted = statuses.reduce(function(prevVal, curVal, idx, arr) {
var cur_status = get_status_name(curVal);
return prevVal && (cur_status == 'completed' || cur_status == 'finished' || cur_status == 'error' || cur_status == 'cancelled' || cur_status == 'skipped');
return prevVal && (cur_status == 'completed' || cur_status == 'finished' || cur_status == 'error' || cur_status == 'cancelled' || cur_status == 'skipped' || cur_status == 'deleted' || cur_status == 'expired');
}, true);
if (!allCompleted) {
updateStatesDelayTimer = d3.timer(updateStates, delay);
Expand Down

0 comments on commit 1fc5c7e

Please sign in to comment.