mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
parent
284352ec9a
commit
bcf615ac98
1 changed files with 1 additions and 2 deletions
|
@ -583,7 +583,6 @@ export const getEntryOnOperatorChange = (
|
|||
index: parent.parentIndex,
|
||||
updatedEntry: {
|
||||
...parent.parent,
|
||||
// @ts-expect-error
|
||||
entries: [
|
||||
...parent.parent.entries.slice(0, entryIndex),
|
||||
{
|
||||
|
@ -592,7 +591,7 @@ export const getEntryOnOperatorChange = (
|
|||
},
|
||||
...parent.parent.entries.slice(entryIndex + 1),
|
||||
],
|
||||
},
|
||||
} as BuilderEntry,
|
||||
};
|
||||
} else {
|
||||
return { index: entryIndex, updatedEntry: newEntry };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue