mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Discover] persist columns selection after resetting state, taking into account _source column (#114178)
This commit is contained in:
parent
f7174809e1
commit
dca5e1ca76
1 changed files with 4 additions and 1 deletions
|
@ -232,7 +232,10 @@ export function getState({
|
|||
initialAppState = appStateContainer.getState();
|
||||
},
|
||||
resetAppState: () => {
|
||||
const defaultState = getStateDefaults ? getStateDefaults() : {};
|
||||
const defaultState = handleSourceColumnState(
|
||||
getStateDefaults ? getStateDefaults() : {},
|
||||
uiSettings
|
||||
);
|
||||
setState(appStateContainerModified, defaultState);
|
||||
},
|
||||
getPreviousAppState: () => previousAppState,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue