[Discover] persist columns selection after resetting state, taking into account _source column (#114178) (#114241)
Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
This commit is contained in:
parent
bbaec75321
commit
779424c3ee
|
@ -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…
Reference in a new issue