Browse Source

fix(gui): avoid data reload on filter load

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3655/head
Pranav C 2 years ago
parent
commit
15b361591e
  1. 3
      packages/nc-gui/composables/useViewFilters.ts

3
packages/nc-gui/composables/useViewFilters.ts

@ -46,7 +46,6 @@ export function useViewFilters(
if (isNestedRoot) nestedFilters.value = value
nestedFilters.value = [...nestedFilters.value]
reloadHook?.trigger()
return
}
@ -174,6 +173,8 @@ export function useViewFilters(
fk_parent_id: parentId,
})
}
reloadHook?.trigger()
} catch (e: any) {
console.log(e)
message.error(await extractSdkResponseErrorMsg(e))

Loading…
Cancel
Save