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 authored and GitHub committed 2022-11-30 04:30:55 -08:00
1 parent 75aee7e4fd
commit b77044a8f9
1 file changed
+1 -1
@@ -67,7 +67,7 @@ const activeEntitySettingsTabInjectable = getInjectable({
return { tabId, setting, groups };
},
set: action((tabId) => {
observableHistory.location.hash = tabId;
observableHistory.merge({ hash: tabId }, true);
}),
};
},