fix widget cache bug
This commit is contained in:
parent
eb7a35a9ea
commit
27c8d157dd
3 changed files with 6 additions and 11 deletions
|
|
@ -42,7 +42,7 @@
|
|||
if (KIRI.worker)
|
||||
KIRI.worker.cam_traces = function(data, send) {
|
||||
const { settings } = data;
|
||||
const widgets = Object.values(cache);
|
||||
const widgets = Object.values(wcache);
|
||||
const fresh = widgets.filter(widget => CAM.traces(settings, widget));
|
||||
send.done(KIRI.codec.encode(fresh.map(widget => { return {
|
||||
id: widget.id,
|
||||
|
|
|
|||
Loading…
Reference in a new issue