Browse Source

refactor: revert unnecessary changes

pull/9662/head
Pranav C 1 month ago
parent
commit
fc3e4d2462
  1. 4
      packages/nc-gui/components/smartsheet/column/FormulaOptions.vue

4
packages/nc-gui/components/smartsheet/column/FormulaOptions.vue

@ -101,8 +101,8 @@ const debouncedValidate = useDebounceFn(async () => {
try { try {
const parsed = await validateFormulaAndExtractTreeWithType({ const parsed = await validateFormulaAndExtractTreeWithType({
formula: vModel.value.formula || vModel.value.formula_raw, formula: vModel.value.formula || vModel.value.formula_raw,
columns: (meta.value?.columns || []).slice(), columns: meta.value?.columns || [],
column: column.value ? { ...column.value } : undefined, column: column.value ?? undefined,
clientOrSqlUi: source.value?.type as any, clientOrSqlUi: source.value?.type as any,
getMeta: async (modelId) => await getMeta(modelId), getMeta: async (modelId) => await getMeta(modelId),
}) })

Loading…
Cancel
Save