fix
This commit is contained in:
@@ -13,7 +13,7 @@ export class UmbCollectionContext<
|
||||
private _entityKey: string | null;
|
||||
|
||||
private _store?: StoreType;
|
||||
protected _dataObserver?: UmbObserverController;
|
||||
protected _dataObserver?: UmbObserverController<DataType[]>;
|
||||
|
||||
private _data: BehaviorSubject<Array<DataType>> = new BehaviorSubject(<Array<DataType>>[]);
|
||||
public readonly data: Observable<Array<DataType>> = this._data.asObservable();
|
||||
|
||||
@@ -39,14 +39,6 @@ export class UmbDashboardCollectionElement extends UmbLitElement {
|
||||
this._collectionContext = new UmbCollectionContext(this, null, manifestMeta.storeAlias);
|
||||
this.provideContext('umbCollectionContext', this._collectionContext);
|
||||
}
|
||||
|
||||
// TODO: avoid this connection, our own approach on Lit-Controller could be handling this case.
|
||||
this._collectionContext?.connectedCallback();
|
||||
}
|
||||
disconnectedCallback(): void {
|
||||
super.connectedCallback();
|
||||
// TODO: avoid this connection, our own approach on Lit-Controller could be handling this case.
|
||||
this._collectionContext?.disconnectedCallback();
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user