Jobs that error should trigger us to to update the Recent Jobs list along with successful/failed/canceled

This commit is contained in:
mabashian 2020-03-02 14:22:51 -05:00 committed by Rebeccah
parent e11ff69f3e
commit 10b5a10728

View File

@ -108,7 +108,7 @@ export default ['$scope','Wait', '$timeout', 'i18n',
};
$scope.$on('ws-jobs', function (e, msg) {
if (msg.status === 'successful' || msg.status === 'failed' || msg.status === 'canceled') {
if (msg.status === 'successful' || msg.status === 'failed' || msg.status === 'canceled' || msg.status === 'error') {
newJobs.push(msg.unified_job_id);
if (!newJobsTimerRunning) {
fetchNewJobs();