Skip to content
Snippets Groups Projects
Commit 43751b44 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Fix missing job status value in toast notification

parent cff4b2c5
No related branches found
No related tags found
No related merge requests found
...@@ -91,7 +91,7 @@ class App { ...@@ -91,7 +91,7 @@ class App {
.filter((operation) => {return subRegExp.test(operation.path);}); .filter((operation) => {return subRegExp.test(operation.path);});
for (let operation of subFilteredPatch) { for (let operation of subFilteredPatch) {
let [match, userId, jobId] = operation.path.match(subRegExp); 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 // Apply Patch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment