diff --git a/packages/nc-gui/components/smartsheet/Grid.vue b/packages/nc-gui/components/smartsheet/Grid.vue index 78f59efc0b..11fb20d3c6 100644 --- a/packages/nc-gui/components/smartsheet/Grid.vue +++ b/packages/nc-gui/components/smartsheet/Grid.vue @@ -273,8 +273,6 @@ const showContextMenu = (e: MouseEvent, target?: { row: number; col: number }) = } } -const rowRefs = $ref() - const saveOrUpdateRecords = async (args: { metaValue?: TableType; viewMetaValue?: ViewType; data?: any } = {}) => { let index = -1 for (const currentRow of args.data || data.value) { @@ -581,7 +579,11 @@ watch(
{{ $t('activity.clearCell') }}
diff --git a/packages/nc-gui/components/smartsheet/column/FormulaOptions.vue b/packages/nc-gui/components/smartsheet/column/FormulaOptions.vue index a4c48f74b8..e5b5ae7000 100644 --- a/packages/nc-gui/components/smartsheet/column/FormulaOptions.vue +++ b/packages/nc-gui/components/smartsheet/column/FormulaOptions.vue @@ -257,7 +257,8 @@ function validateAgainstMeta(parsedTree: any, errors = new Set(), typeErrors = n const neighbours = [ ...new Set( (c.colOptions.formula.match(/cl_\w{14}/g) || []).filter( - (colId: string) => columns.value.filter((col: ColumnType) => col.id === colId && col.uidt === UITypes.Formula).length, + (colId: string) => + columns.value.filter((col: ColumnType) => col.id === colId && col.uidt === UITypes.Formula).length, ), ), ]