From 43751b44ac23aa1e8e8e194cf862229c53a8d270 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch <p.jentsch@uni-bielefeld.de> Date: Fri, 31 Mar 2023 09:25:13 +0200 Subject: [PATCH] Fix missing job status value in toast notification --- app/static/js/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/js/App.js b/app/static/js/App.js index 87d44d71..6d54a7a5 100644 --- a/app/static/js/App.js +++ b/app/static/js/App.js @@ -91,7 +91,7 @@ class App { .filter((operation) => {return subRegExp.test(operation.path);}); for (let operation of subFilteredPatch) { let [match, userId, jobId] = operation.path.match(subRegExp); - this.flash(`[<a href="/jobs/${jobId}">${this.data.users[userId].jobs[jobId].title}</a>] New status: <span class="job-status-text" data-job-status="${operation.value}"></span>`, 'job'); + this.flash(`[<a href="/jobs/${jobId}">${this.data.users[userId].jobs[jobId].title}</a>] New status: <span class="job-status-text" data-status="${operation.value}"></span>`, 'job'); } // Apply Patch -- GitLab