Fix empty editor

This commit is contained in:
Bram Kragten 2019-01-29 18:03:34 +01:00
parent 13aa0568a6
commit dedb36cecf

View File

@ -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);
}
}