Browse Source

chore(gui-v2): correct loading setter

pull/2877/head
braks 2 years ago
parent
commit
706c7e3c6f
  1. 2
      packages/nc-gui-v2/composables/useGlobal/getters.ts

2
packages/nc-gui-v2/composables/useGlobal/getters.ts

@ -18,7 +18,7 @@ export function useGlobalGetters(state: State): Getters {
let loading = $ref(false)
const isLoading = computed({
get: () => state.runningRequests.count.value > 0 || loading,
set: (_loading) => (loading = !_loading),
set: (_loading) => (loading = _loading),
})
return { signedIn, isLoading }

Loading…
Cancel
Save