Web: add commented-out debug code
The code ensures the jobs table gets filled with partial jobs (as from a WebSocket JobUpdate object), helping to test such updates.
This commit is contained in:
parent
81ad3575db
commit
c6bc614f2a
@ -74,6 +74,8 @@ export default {
|
||||
});
|
||||
},
|
||||
onJobsFetched(data) {
|
||||
// "Down-cast" to JobUpdate to only get those fields, just for debugging things.
|
||||
// data.jobs = data.jobs.map((j) => API.JobUpdate.constructFromObject(j));
|
||||
this.tabulator.setData(data.jobs);
|
||||
this.restoreRowSelection();
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user