From 342dab4679652c007ef12b2c6e0ddb5bb961ac4d Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 19 Aug 2022 16:09:07 +0800 Subject: [PATCH] fix(gui-v2): allow public view & share base view to read filters --- packages/nc-gui-v2/composables/useViewFilters.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/nc-gui-v2/composables/useViewFilters.ts b/packages/nc-gui-v2/composables/useViewFilters.ts index 2fc0f5de38..ae594163a2 100644 --- a/packages/nc-gui-v2/composables/useViewFilters.ts +++ b/packages/nc-gui-v2/composables/useViewFilters.ts @@ -62,8 +62,6 @@ export function useViewFilters( } const loadFilters = async (hookId?: string) => { - if (isPublic.value || isSharedBase) return - if (hookId) { if (parentId) { filters.value = await $api.dbTableFilter.childrenRead(parentId)