mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 10:54:18 +00:00
Fix missing job status value in toast notification
This commit is contained in:
parent
cff4b2c588
commit
43751b44ac
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user