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 = {
|
||||
defaultPage: "dashboard",
|
||||
beforeRender: (page) =>
|
||||
page === "server_control" ? "../developer-tools/yaml" : undefined,
|
||||
routes: {
|
||||
analytics: {
|
||||
tag: "ha-config-section-analytics",
|
||||
|
|
Loading…
Reference in New Issue