backwards compatibility

This commit is contained in:
cocobo1 2025-05-04 09:31:31 +01:00
parent 615b20007b
commit 7fc79faecf
3 changed files with 26 additions and 2 deletions

14
dist/pupu.js vendored
View file

@ -5735,6 +5735,10 @@
title: "Pupu",
render: () => /* @__PURE__ */ jsx(CustomPageRenderer, {})
},
BUNNY_CUSTOM_PAGE: {
title: "Pupu",
render: () => /* @__PURE__ */ jsx(CustomPageRenderer, {})
},
PUPU_CUSTOM_PAGE: {
title: "Pupu",
render: () => /* @__PURE__ */ jsx(CustomPageRenderer, {})
@ -5810,7 +5814,7 @@
...rendererConfigValue,
VendettaCustomPage: {
type: "route",
title: () => "Bunny",
title: () => "Pupu",
screen: {
route: "VendettaCustomPage",
getComponent: () => CustomPageRenderer
@ -5824,6 +5828,14 @@
getComponent: () => CustomPageRenderer
}
},
BUNNY_CUSTOM_PAGE: {
type: "route",
title: () => "Pupu",
screen: {
route: "BUNNY_CUSTOM_PAGE",
getComponent: () => CustomPageRenderer
}
},
...getRows()
}),
set: (v2) => rendererConfigValue = v2

View file

@ -39,6 +39,10 @@ export function patchPanelUI(unpatches: (() => void | boolean)[]) {
title: "Pupu",
render: () => <CustomPageRenderer />
},
BUNNY_CUSTOM_PAGE: {
title: "Pupu",
render: () => <CustomPageRenderer />
},
PUPU_CUSTOM_PAGE: {
title: "Pupu",
render: () => <CustomPageRenderer />

View file

@ -42,7 +42,7 @@ export function patchTabsUI(unpatches: (() => void | boolean)[]) {
...rendererConfigValue,
VendettaCustomPage: {
type: "route",
title: () => "Bunny",
title: () => "Pupu",
screen: {
route: "VendettaCustomPage",
getComponent: () => CustomPageRenderer
@ -56,6 +56,14 @@ export function patchTabsUI(unpatches: (() => void | boolean)[]) {
getComponent: () => CustomPageRenderer
}
},
BUNNY_CUSTOM_PAGE: {
type: "route",
title: () => "Pupu",
screen: {
route: "BUNNY_CUSTOM_PAGE",
getComponent: () => CustomPageRenderer
}
},
...getRows()
}),
set: v => rendererConfigValue = v,