Browse Source

fix/Filter deletion fixed for shared view

pull/3251/head
Muhammed Mustafa 2 years ago
parent
commit
e824ff033f
  1. 2
      packages/nc-gui-v2/composables/useViewFilters.ts

2
packages/nc-gui-v2/composables/useViewFilters.ts

@ -120,7 +120,7 @@ export function useViewFilters(
// if shared or sync permission not allowed simply remove it from array // if shared or sync permission not allowed simply remove it from array
if (nestedMode.value) { if (nestedMode.value) {
filters.value.splice(i, 1) filters.value.splice(i, 1)
filters.value = [...filters.value]
reloadData?.() reloadData?.()
} else { } else {
if (filter.id) { if (filter.id) {

Loading…
Cancel
Save