fix issue created by lodash upgrade

This commit is contained in:
Deep Tailor 2020-07-07 15:39:21 -07:00
parent 9ceb3c5b1e
commit c29c3c386f

View File

@ -587,7 +587,10 @@ export default {
}
},
updateTelemetryFormat(item, format) {
let index = this.layoutItems.findIndex(item);
let index = this.layoutItems.findIndex((layoutItem) => {
return layoutItem.id === item.id;
});
item.format = format;
this.mutate(`configuration.items[${index}]`, item);
},