From 59b672f26fd1c3b631f959adbcefc25bc0c8d20c Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Tue, 29 Nov 2022 15:08:03 -0500 Subject: [PATCH] Fix back navigation in entity settings - The bug was that the user would cycle through all the settings viewed 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); }), }; },