[maps] fix user has to click back button twice to navigate back to dashboard from create maps screen (#103002)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
bb4e0cc1fc
commit
dd907e5487
|
@ -60,7 +60,9 @@ export function startAppStateSyncing(appStateManager: AppStateManager) {
|
|||
stateContainer.set(initialAppState);
|
||||
|
||||
// set current url to whatever is in app state container
|
||||
kbnUrlStateStorage.set('_a', initialAppState);
|
||||
kbnUrlStateStorage.set('_a', initialAppState, {
|
||||
replace: true,
|
||||
});
|
||||
|
||||
// finally start syncing state containers with url
|
||||
startSyncingAppStateWithUrl();
|
||||
|
|
Loading…
Reference in a new issue