Browse Source

fix: validate compound case

pull/2090/head
Wing-Kam Wong 3 years ago
parent
commit
c6c5877e83
  1. 2
      packages/nc-gui/components/project/spreadsheet/components/editColumn/FormulaOptions.vue

2
packages/nc-gui/components/project/spreadsheet/components/editColumn/FormulaOptions.vue

@ -329,6 +329,8 @@ export default {
} }
this.validateAgainstMeta(pt.left, arr) this.validateAgainstMeta(pt.left, arr)
this.validateAgainstMeta(pt.right, arr) this.validateAgainstMeta(pt.right, arr)
} else if (pt.type === jsep.COMPOUND) {
pt.body.map(v => this.validateAgainstMeta(v, arr))
} }
return arr return arr
}, },

Loading…
Cancel
Save