mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Fix: browser back button after workpad switch should be handled specially (#23619)
This commit is contained in:
parent
2da50a9085
commit
52df40e42f
1 changed files with 5 additions and 0 deletions
|
@ -161,6 +161,11 @@ export const aeroelastic = ({ dispatch, getState }) => {
|
|||
pages.map(p => p.id).forEach(createStore);
|
||||
}
|
||||
|
||||
if (action.type === restoreHistory.toString()) {
|
||||
aero.clearStores();
|
||||
action.payload.workpad.pages.map(p => p.id).forEach(createStore);
|
||||
}
|
||||
|
||||
if (action.type === appReady.toString()) {
|
||||
const pages = getPages(getState());
|
||||
aero.clearStores();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue