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

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 Savolainen 2022-10-19 14:24:27 +03:00
parent 36fda762d0
commit edb12fed06
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A
2 changed files with 2 additions and 2 deletions

View File

@ -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,
});

View File

@ -10,7 +10,7 @@ const preferencesRouteInjectable = getInjectable({
id: "preferences-route",
instantiate: () => ({
path: "/preferences2/:preferenceTabId?",
path: "/preferences/:preferenceTabId?",
clusterFrame: false,
isEnabled: computed(() => true),
}),