1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-05-08 17:28:46 +01:00

Fix a bug in cast launcher that hassURL and path are incorrectly passed (#15546)

This commit is contained in:
chiahsing
2023-02-23 00:15:16 +08:00
committed by GitHub
parent 2c61c960bc
commit 3158e6043d
+1 -1
View File
@@ -181,7 +181,7 @@ class HcCast extends LitElement {
private async _handlePickView(ev: Event) {
const path = (ev.currentTarget as any).getAttribute("data-path");
await ensureConnectedCastSession(this.castManager!, this.auth!);
castSendShowLovelaceView(this.castManager, path, this.auth.data.hassUrl);
castSendShowLovelaceView(this.castManager, this.auth.data.hassUrl, path);
}
private async _handleLogout() {