mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
Update hassio-addon-dashboard.ts to fix back button issue (#19477)
This commit is contained in:
parent
319cf64977
commit
45398f84cb
@ -250,7 +250,9 @@ class HassioAddonDashboard extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (path === "uninstall") {
|
if (path === "uninstall") {
|
||||||
window.history.back();
|
if (this.isConnected) {
|
||||||
|
navigate(this._backPath);
|
||||||
|
}
|
||||||
} else if (path === "install") {
|
} else if (path === "install") {
|
||||||
this.addon = await fetchHassioAddonInfo(this.hass, this.addon!.slug);
|
this.addon = await fetchHassioAddonInfo(this.hass, this.addon!.slug);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user