|
|
@ -109,11 +109,10 @@ const [useProvideSmartsheetRowStore, useSmartsheetRowStore] = useInjectionState( |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const loadRow = async () => { |
|
|
|
const loadRow = async () => { |
|
|
|
const record = await $api.dbTableRow.read( |
|
|
|
const record = await $api.dbTableRow.read( |
|
|
|
NOCO, |
|
|
|
NOCO, |
|
|
|
(project?.value?.id) as string, |
|
|
|
project?.value?.id as string, |
|
|
|
meta.value.title, |
|
|
|
meta.value.title, |
|
|
|
extractPkFromRow(ref(row).value?.row, meta.value.columns as ColumnType[]), |
|
|
|
extractPkFromRow(ref(row).value?.row, meta.value.columns as ColumnType[]), |
|
|
|
) |
|
|
|
) |
|
|
@ -131,7 +130,8 @@ const [useProvideSmartsheetRowStore, useSmartsheetRowStore] = useInjectionState( |
|
|
|
// todo: use better name
|
|
|
|
// todo: use better name
|
|
|
|
addLTARRef, |
|
|
|
addLTARRef, |
|
|
|
removeLTARRef, |
|
|
|
removeLTARRef, |
|
|
|
syncLTARRefs,loadRow |
|
|
|
syncLTARRefs, |
|
|
|
|
|
|
|
loadRow, |
|
|
|
} |
|
|
|
} |
|
|
|
}, 'smartsheet-row-store') |
|
|
|
}, 'smartsheet-row-store') |
|
|
|
|
|
|
|
|
|
|
|