Assign _isInitialized
This commit is contained in:
parent
cbfae2b9d7
commit
bbb74d0a48
@ -307,6 +307,7 @@ class DisplayGenerator {
|
|||||||
const html = await apiGetDisplayTemplatesHtml();
|
const html = await apiGetDisplayTemplatesHtml();
|
||||||
const doc = new DOMParser().parseFromString(html, 'text/html');
|
const doc = new DOMParser().parseFromString(html, 'text/html');
|
||||||
this._setTemplates(doc);
|
this._setTemplates(doc);
|
||||||
|
this._isInitialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
_setTemplates(doc) {
|
_setTemplates(doc) {
|
||||||
|
Loading…
Reference in New Issue
Block a user