mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-01 13:37:47 +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._resizeDialog();
|
||||
if (!this._uiEditor) {
|
||||
this.yamlEditor.codemirror.refresh();
|
||||
setTimeout(() => {
|
||||
this.yamlEditor.codemirror.refresh();
|
||||
}, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user