mirror of
https://github.com/nocodb/nocodb.git
synced 2026-02-02 02:57:23 +00:00
fix: disable realtime load for temporary filter list
This commit is contained in:
@@ -195,6 +195,7 @@ const {
|
||||
linkColId,
|
||||
fieldsToFilter,
|
||||
parentColId,
|
||||
props.disableAutoLoad,
|
||||
)
|
||||
|
||||
const { getPlanLimit } = useWorkspace()
|
||||
|
||||
@@ -38,6 +38,7 @@ export function useViewFilters(
|
||||
linkColId?: Ref<string>,
|
||||
fieldsToFilter?: Ref<ColumnType[]>,
|
||||
parentColId?: Ref<string>,
|
||||
disableAutoLoad?: boolean,
|
||||
) {
|
||||
const savingStatus: Record<number, boolean> = {}
|
||||
|
||||
@@ -1076,7 +1077,7 @@ export function useViewFilters(
|
||||
}
|
||||
|
||||
const evtListener = (evt: string, payload: any) => {
|
||||
if (payload.fk_view_id !== view.value?.id) return
|
||||
if (payload.fk_view_id !== view.value?.id || disableAutoLoad) return
|
||||
|
||||
if (evt === 'filter_create') {
|
||||
allFilters.value.push(payload)
|
||||
|
||||
Reference in New Issue
Block a user