mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Add savedSearchId when we update state with searchSource (#113938)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
b9f0965381
commit
280d1d84b4
1 changed files with 5 additions and 1 deletions
|
@ -103,7 +103,11 @@ export const useVisualizeAppState = (
|
|||
instance.vis
|
||||
.setState({
|
||||
...visState,
|
||||
data: { aggs, searchSource: { ...visSearchSource, query, filter } },
|
||||
data: {
|
||||
aggs,
|
||||
searchSource: { ...visSearchSource, query, filter },
|
||||
savedSearchId: instance.vis.data.savedSearchId,
|
||||
},
|
||||
})
|
||||
.then(() => {
|
||||
// setting up the stateContainer after setState is successful will prevent loading the editor with failures
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue