clear traces on widget modified

This commit is contained in:
Stewart Allen 2020-12-01 20:56:10 -05:00
commit dfd2dacac7
3 changed files with 9 additions and 4 deletions

View file

@ -30,11 +30,13 @@
let settings = API.conf.get();
let widgets = API.widgets.map();
send("traces", { settings }, output => {
let ids = [];
KIRI.codec.decode(output).forEach(rec => {
ids.push(rec.id);
widgets[rec.id].traces = rec.traces;
// widgets[rec.id].sindex = rec.sindex;
});
ondone(true);
ondone(ids);
});
};