mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	fix job status notifications
This commit is contained in:
		@@ -95,7 +95,7 @@ nopaque.App = 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-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-job-status="${operation.value}"></span>`, 'job');
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Apply Patch
 | 
					    // Apply Patch
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user