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:
parent
36fda762d0
commit
edb12fed06
@ -138,7 +138,7 @@ describe("preferences - closing-preferences", () => {
|
|||||||
builder.beforeWindowStart((windowDi) => {
|
builder.beforeWindowStart((windowDi) => {
|
||||||
windowDi.override(observableHistoryInjectable, () => {
|
windowDi.override(observableHistoryInjectable, () => {
|
||||||
const historyFake = createMemoryHistory({
|
const historyFake = createMemoryHistory({
|
||||||
initialEntries: ["/preferences2/app"],
|
initialEntries: ["/preferences/app"],
|
||||||
initialIndex: 0,
|
initialIndex: 0,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@ const preferencesRouteInjectable = getInjectable({
|
|||||||
id: "preferences-route",
|
id: "preferences-route",
|
||||||
|
|
||||||
instantiate: () => ({
|
instantiate: () => ({
|
||||||
path: "/preferences2/:preferenceTabId?",
|
path: "/preferences/:preferenceTabId?",
|
||||||
clusterFrame: false,
|
clusterFrame: false,
|
||||||
isEnabled: computed(() => true),
|
isEnabled: computed(() => true),
|
||||||
}),
|
}),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user