Make winner of competition to use original route for preferences

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne SavolainenandMikko Aspiala committed 2022-10-21 08:23:22 +03:00
1 parent 36fda762d0
commit edb12fed06
2 files changed
+2 -2

No files matched your search

@@ -138,7 +138,7 @@ describe("preferences - closing-preferences", () => {
builder.beforeWindowStart((windowDi) => {
windowDi.override(observableHistoryInjectable, () => {
const historyFake = createMemoryHistory({
initialEntries: ["/preferences2/app"],
initialEntries: ["/preferences/app"],
initialIndex: 0,
});
@@ -10,7 +10,7 @@ const preferencesRouteInjectable = getInjectable({
id: "preferences-route",
instantiate: () => ({
path: "/preferences2/:preferenceTabId?",
path: "/preferences/:preferenceTabId?",
clusterFrame: false,
isEnabled: computed(() => true),
}),