Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Support executing queries from store
The `getCollectionFromSlice` helper expects an object with doctypes as key. However, the method `this.store.getState()` returns a larger object such as `{ cozy: { documents: { [doctype]: ... }, queries: {} }`. In this case, the `client.getCollectionFromState` method is more appropriate.
- Loading branch information