From b77044a8f9213002f9d08eb53d534eeebf056ad4 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Wed, 30 Nov 2022 04:30:55 -0800 Subject: [PATCH] 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 Signed-off-by: Sebastian Malton --- .../components/+entity-settings/active-tabs.injectable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/+entity-settings/active-tabs.injectable.ts b/src/renderer/components/+entity-settings/active-tabs.injectable.ts index 1c9e22e803..82f8ad6985 100644 --- a/src/renderer/components/+entity-settings/active-tabs.injectable.ts +++ b/src/renderer/components/+entity-settings/active-tabs.injectable.ts @@ -67,7 +67,7 @@ const activeEntitySettingsTabInjectable = getInjectable({ return { tabId, setting, groups }; }, set: action((tabId) => { - observableHistory.location.hash = tabId; + observableHistory.merge({ hash: tabId }, true); }), }; },