mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-02 22:17:48 +00:00
Fix empty editor
This commit is contained in:
parent
13aa0568a6
commit
dedb36cecf
@ -194,7 +194,9 @@ export class HuiEditCard extends LitElement {
|
|||||||
this._loading = false;
|
this._loading = false;
|
||||||
this._resizeDialog();
|
this._resizeDialog();
|
||||||
if (!this._uiEditor) {
|
if (!this._uiEditor) {
|
||||||
|
setTimeout(() => {
|
||||||
this.yamlEditor.codemirror.refresh();
|
this.yamlEditor.codemirror.refresh();
|
||||||
|
}, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user