mirror of
https://github.com/home-assistant/frontend.git
synced 2026-04-07 03:14:00 +00:00
Fix empty editor
This commit is contained in:
@@ -194,7 +194,9 @@ export class HuiEditCard extends LitElement {
|
||||
this._loading = false;
|
||||
this._resizeDialog();
|
||||
if (!this._uiEditor) {
|
||||
this.yamlEditor.codemirror.refresh();
|
||||
setTimeout(() => {
|
||||
this.yamlEditor.codemirror.refresh();
|
||||
}, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user