Browse Source

code scanner button: add missing '.value' call of ref

pull/5114/head
Daniel Spaude 2 years ago
parent
commit
3a56a9cb0c
No known key found for this signature in database
GPG Key ID: 654A3D1FA4F35FFE
  1. 2
      packages/nc-gui/components/smartsheet/toolbar/QrScannerButton.vue

2
packages/nc-gui/components/smartsheet/toolbar/QrScannerButton.vue

@ -83,7 +83,7 @@ const onDecode = async (codeValue: string) => {
const selectedColumnToScanFor = getColumnToSearchForByBarOrQrCodeColumnId(idOfSelectedColumnToScanFor.value) const selectedColumnToScanFor = getColumnToSearchForByBarOrQrCodeColumnId(idOfSelectedColumnToScanFor.value)
const whereClause = `(${selectedColumnToScanFor?.title},eq,${codeValue})` const whereClause = `(${selectedColumnToScanFor?.title},eq,${codeValue})`
const foundRowsForCode = ( const foundRowsForCode = (
await $api.dbViewRow.list(NOCO, project.id!, meta.value!.id!, view.value!.title!, { await $api.dbViewRow.list(NOCO, project.value.id!, meta.value!.id!, view.value!.title!, {
where: whereClause, where: whereClause,
}) })
).list ).list

Loading…
Cancel
Save