update store when items are received so observable works
This commit is contained in:
@@ -29,6 +29,10 @@ export class UmbUserGroupCollectionRepository implements UmbCollectionRepository
|
||||
|
||||
const { data, error } = await this.#collectionSource.filterCollection(filter);
|
||||
|
||||
if (data) {
|
||||
this.#detailStore?.appendItems(data.items);
|
||||
}
|
||||
|
||||
return { data, error, asObservable: () => this.#detailStore!.all() };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user