diff --git a/src/HacsFrontend.ts b/src/HacsFrontend.ts index de162c00..30aaf564 100644 --- a/src/HacsFrontend.ts +++ b/src/HacsFrontend.ts @@ -121,7 +121,9 @@ class HacsFrontendBase extends LitElement { protected async firstUpdated() { window.onpopstate = function() { - window.location.reload(); + if (window.location.pathname.includes("hacs")) { + window.location.reload(); + } }; const [ repositories,