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:
Sybren A. Stüvel 2022-04-12 17:53:34 +02:00
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();
},