This commit is contained in:
Mads Rasmussen
2023-11-21 10:57:46 +01:00
parent 367090ad6c
commit 49462b5f7b

View File

@@ -28,7 +28,11 @@ export class UmbUserGridCollectionViewElement extends UmbLitElement {
this.consumeContext(UMB_COLLECTION_CONTEXT, (instance) => {
this.#collectionContext = instance as UmbUserCollectionContext;
this.observe(this.#collectionContext.selection, (selection) => (this._selection = selection), 'umbCollectionSelectionObserver');
this.observe(
this.#collectionContext.selection,
(selection) => (this._selection = selection),
'umbCollectionSelectionObserver',
);
this.observe(this.#collectionContext.items, (items) => (this._users = items), 'umbCollectionItemsObserver');
});