@arrai-innovations/reactive-helpers 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arrai-innovations/reactive-helpers",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "VueJS 3 utility composition functions to help manipulate objects and lists.",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -175,7 +175,10 @@ export function useListSubscription({ listInstance, crudArgs, listArgs, retrieve
175
175
  state.subscribed = toRef(subscribeIntent.state, "active");
176
176
 
177
177
  listIntent = useCancellableIntent({
178
- awaitableWithCancel: listInstance.list,
178
+ awaitableWithCancel: () => {
179
+ listInstance.clearList();
180
+ return listInstance.list();
181
+ },
179
182
  watchArguments: [toRef(state, "intendToList"), toRef(state, "listArgs"), toRef(state, "retrieveArgs")],
180
183
  });
181
184
  });