Browse Source

fix(gui-v2): cannot read properties of undefined (reading 'length')

pull/3272/head
Wing-Kam Wong 2 years ago
parent
commit
657b51fe57
  1. 2
      packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilter.vue

2
packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilter.vue

@ -115,7 +115,7 @@ watch(
const applyChanges = async (hookId?: string) => { const applyChanges = async (hookId?: string) => {
await sync(hookId) await sync(hookId)
if (!nestedFilters.value.length) return if (!nestedFilters.value?.length) return
for (const nestedFilter of nestedFilters.value) { for (const nestedFilter of nestedFilters.value) {
if (nestedFilter.parentId) { if (nestedFilter.parentId) {

Loading…
Cancel
Save