mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 12:26:35 +00:00
Cancels page retry loop with negative intervals. (#22983)
* Cancels page retry loop with negative intervals. This shouldn't be required, but sometimes, which I can't easily reproduce, it fails to reload. Fixes #20052 * Clear interval before reload.
This commit is contained in:
parent
2d3579c08a
commit
a525c44794
@ -82,6 +82,9 @@ class HaInitPage extends LitElement {
|
||||
}
|
||||
|
||||
private _retry() {
|
||||
if (this._retryInterval) {
|
||||
clearInterval(this._retryInterval);
|
||||
}
|
||||
location.reload();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user