diff --git a/packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue b/packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue index 6593f226a9..d172788f59 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue @@ -213,8 +213,8 @@ const applyChanges = async (hookId?: string, nested = false, isConditionSupporte // it's used for bulk webhooks with filters since bulk webhooks don't support conditions at the moment if (!isConditionSupported) { // iterate in reverse order and delete all filters, reverse order is for getting the correct index - for (let i = localNestedFilters.value.length - 1; i >= 0; i--) { - await deleteFilter(localNestedFilters.value[i], i) + for (let i = filters.value.length - 1; i >= 0; i--) { + await deleteFilter(filters.value[i], i) } }