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") {
|
||||
window.history.back();
|
||||
if (this.isConnected) {
|
||||
navigate(this._backPath);
|
||||
}
|
||||
} else if (path === "install") {
|
||||
this.addon = await fetchHassioAddonInfo(this.hass, this.addon!.slug);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue