mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 18:56:39 +00:00
Always load error log in safe mode (#5442)
This commit is contained in:
parent
ae1c519d3a
commit
46c6f86d6a
@ -38,6 +38,14 @@ class ErrorLogCard extends LitElement {
|
|||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected firstUpdated(changedProps) {
|
||||||
|
super.firstUpdated(changedProps);
|
||||||
|
|
||||||
|
if (this.hass?.config.safe_mode) {
|
||||||
|
this._refreshErrorLog();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static get styles(): CSSResult {
|
static get styles(): CSSResult {
|
||||||
return css`
|
return css`
|
||||||
.error-log-intro {
|
.error-log-intro {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user