1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix back navigation in entity settings (#6670)

- The bug was that the user would cycle through all the settings viewed

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-11-30 04:30:55 -08:00 committed by GitHub
parent 75aee7e4fd
commit b77044a8f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ const activeEntitySettingsTabInjectable = getInjectable({
return { tabId, setting, groups };
},
set: action((tabId) => {
observableHistory.location.hash = tabId;
observableHistory.merge({ hash: tabId }, true);
}),
};
},