diff --git a/packages/nc-gui/composables/useSmartsheetRowStore.ts b/packages/nc-gui/composables/useSmartsheetRowStore.ts index 7873389e26..2db97e94ed 100644 --- a/packages/nc-gui/composables/useSmartsheetRowStore.ts +++ b/packages/nc-gui/composables/useSmartsheetRowStore.ts @@ -135,7 +135,7 @@ const [useProvideSmartsheetRowStore, useSmartsheetRowStore] = useInjectionState( NOCO, project.value.title as string, meta.value?.title as string, - extractPkFromRow(currentRow.value, meta.value?.columns as ColumnType[]), + extractPkFromRow(currentRow.value.row, meta.value?.columns as ColumnType[]), 'bt' as any, column.title as string, extractPkFromRow(currentRow.value.row[column.title!], relatedTableMeta?.columns as ColumnType[]), @@ -146,7 +146,7 @@ const [useProvideSmartsheetRowStore, useSmartsheetRowStore] = useInjectionState( NOCO, project.value.title as string, meta.value?.title as string, - extractPkFromRow(currentRow.value, meta.value?.columns as ColumnType[]), + extractPkFromRow(currentRow.value.row, meta.value?.columns as ColumnType[]), (column?.colOptions).type as 'hm' | 'mm', column.title as string, extractPkFromRow(link, relatedTableMeta?.columns as ColumnType[]),