@data-fair/lib-vue 1.13.8 → 1.13.9

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.
Files changed (2) hide show
  1. package/async-action.js +2 -1
  2. package/package.json +1 -1
package/async-action.js CHANGED
@@ -19,6 +19,7 @@ export function useAsyncAction (fn, options) {
19
19
  sendUiNotif(successNotif)
20
20
  }
21
21
  }
22
+ loading.value = false
22
23
  return result
23
24
  } catch (err) {
24
25
  error.value = getErrorMsg(err)
@@ -27,8 +28,8 @@ export function useAsyncAction (fn, options) {
27
28
  if (options?.catch !== 'error' && options?.catch !== 'all') {
28
29
  sendUiNotif(errorNotif)
29
30
  }
31
+ loading.value = false
30
32
  }
31
- loading.value = false
32
33
  }
33
34
  return { execute, notif, loading, error }
34
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@data-fair/lib-vue",
3
- "version": "1.13.8",
3
+ "version": "1.13.9",
4
4
  "description": "Composables and other utilities for Vue applications in the data-fair stack.",
5
5
  "main": "index.js",
6
6
  "files": [