Skip to content

Commit

Permalink
Added process status to Active Tasks table (#1463)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahmehl authored Oct 23, 2024
1 parent a6a11a0 commit 87a7377
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/addons/activetasks/components/tablebodycontents.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ const activeTasksHelpers = {
progressMessage.push(item.changes_done + ' Changes done.');
}

if (_.has(item, 'process_status') && item.process_status != 'waiting') {
progressMessage.push('Process Status: ' + item.process_status);
}

return progressMessage;
},

Expand All @@ -86,6 +90,7 @@ export default class ActiveTaskTableBodyContents extends React.Component {
node: item.node,
pid: item.pid.replace(/[<>]/g, ''),
progress: activeTasksHelpers.getProgressMessage(item),
process_status: item.process_status,
};
};

Expand Down

0 comments on commit 87a7377

Please sign in to comment.