Browse Source

enhancement: hide LTAR system fields in formula suggestion list

pull/2652/head
Wing-Kam Wong 2 years ago
parent
commit
94bc282f1a
  1. 5
      packages/nc-gui/components/project/spreadsheet/components/editColumn/FormulaOptions.vue

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

@ -136,7 +136,10 @@ export default {
examples: formulas[fn].examples,
})),
...this.meta.columns
.filter(c => !this.column || this.column.id !== c.id)
.filter(
c =>
!this.column || (this.column.id !== c.id && !(c.uidt === UITypes.LinkToAnotherRecord && c.system === 1))
)
.map(c => ({
text: c.title,
type: 'column',

Loading…
Cancel
Save