Add Redirect for Server Controls
This commit is contained in:
parent
2751f8f33b
commit
191f81d9fe
|
@ -345,6 +345,8 @@ class HaPanelConfig extends HassRouterPage {
|
||||||
|
|
||||||
protected routerOptions: RouterOptions = {
|
protected routerOptions: RouterOptions = {
|
||||||
defaultPage: "dashboard",
|
defaultPage: "dashboard",
|
||||||
|
beforeRender: (page) =>
|
||||||
|
page === "server_control" ? "../developer-tools/yaml" : undefined,
|
||||||
routes: {
|
routes: {
|
||||||
analytics: {
|
analytics: {
|
||||||
tag: "ha-config-section-analytics",
|
tag: "ha-config-section-analytics",
|
||||||
|
|
Loading…
Reference in New Issue