diff --git a/app/src/gui/components/notebook/add_record_by_type.tsx b/app/src/gui/components/notebook/add_record_by_type.tsx index 1746d7497..2af251db8 100644 --- a/app/src/gui/components/notebook/add_record_by_type.tsx +++ b/app/src/gui/components/notebook/add_record_by_type.tsx @@ -34,7 +34,7 @@ export default function AddRecordButtons({ RecordMetadata | undefined >(undefined); - getMetadataValue(_id, 'showQRCodeButton').then(value => { + getMetadataValue(project_id, 'showQRCodeButton').then(value => { setShowQRButton(value === true || value === 'true'); });