mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 16:26:43 +00:00
Don't clear action on expected error (#9428)
This commit is contained in:
parent
e02e61384e
commit
446a9b5c02
@ -158,8 +158,8 @@ class DialogSupervisorUpdate extends LitElement {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
if (this.hass.connection.connected && !ignoreSupervisorError(err)) {
|
if (this.hass.connection.connected && !ignoreSupervisorError(err)) {
|
||||||
this._error = extractApiErrorMessage(err);
|
this._error = extractApiErrorMessage(err);
|
||||||
|
this._action = null;
|
||||||
}
|
}
|
||||||
this._action = null;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user