mirror of
https://github.com/nasa/openmct.git
synced 2024-12-30 01:48:51 +00:00
fix issue created by lodash upgrade
This commit is contained in:
parent
9ceb3c5b1e
commit
c29c3c386f
@ -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);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user