Browse Source

fix: typo correction

pull/7392/head
Pranav C 12 months ago
parent
commit
728e2fa9a1
  1. 2
      packages/nc-gui/components/smartsheet/column/LookupOptions.vue
  2. 2
      packages/nc-gui/components/smartsheet/column/RollupOptions.vue

2
packages/nc-gui/components/smartsheet/column/LookupOptions.vue

@ -56,7 +56,7 @@ const columns = computed<ColumnType[]>(() => {
if (!selectedTable.value?.id) {
return []
}
return metas.value[selectedTable.id]?.columns.filter(
return metas.value[selectedTable.value.id]?.columns.filter(
(c: ColumnType) =>
vModel.value.fk_lookup_column_id === c.id || (!isSystemColumn(c) && c.id !== vModel.value.id && c.uidt !== UITypes.Links),
)

2
packages/nc-gui/components/smartsheet/column/RollupOptions.vue

@ -79,7 +79,7 @@ const columns = computed<ColumnType[]>(() => {
return []
}
return metas.value[selectedTable.id]?.columns.filter(
return metas.value[selectedTable.value.id]?.columns.filter(
(c: ColumnType) => !isVirtualCol(c.uidt as UITypes) && (!isSystemColumn(c) || c.pk),
)
})

Loading…
Cancel
Save