Redirect hassio system my links to new locations (#12429)

This commit is contained in:
Joakim Sørensen 2022-04-26 13:15:29 +02:00 committed by GitHub
parent 8b8d6e5fa3
commit c1b65285c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,6 +176,18 @@ const getRedirect = (
component: hasSupervisor ? "hassio" : "backup",
redirect: hasSupervisor ? "/hassio/backups" : "/config/backup",
},
supervisor_system: {
// Moved from Supervisor panel in 2022.5
redirect: "/config/system",
},
supervisor_logs: {
// Moved from Supervisor panel in 2022.5
redirect: "/config/logs",
},
supervisor_info: {
// Moved from Supervisor panel in 2022.5
redirect: "/config/info",
},
} as Redirects
)[path]);