Dont use lovelace in new dashboard urls (#14395)

This commit is contained in:
Bram Kragten 2022-11-16 17:53:46 +01:00 committed by GitHub
parent 048b345c75
commit c5ec1797f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,7 +248,7 @@ export class DialogLovelaceDashboardDetail extends LitElement {
...this._data,
url_path: slugifyTitle.includes("-")
? slugifyTitle
: `lovelace-${slugifyTitle}`,
: `dashboard-${slugifyTitle}`,
};
}