wait until connectedCallback to get the index

the indexName property is not available before then

fixes #797
This commit is contained in:
Jacob Overgaard
2023-08-08 15:31:31 +02:00
parent 42c12e0f9c
commit 85e19059ca

View File

@@ -33,7 +33,10 @@ export class UmbDashboardExamineIndexElement extends UmbLitElement {
this.consumeContext(UMB_MODAL_MANAGER_CONTEXT_TOKEN, (_instance) => {
this._modalContext = _instance;
});
}
connectedCallback() {
super.connectedCallback();
this._getIndexData();
}