From 3697ec44fb2ee376fc3d2cd99be8332b52de5953 Mon Sep 17 00:00:00 2001 From: Steve Cassidy Date: Fri, 27 Sep 2024 10:35:22 +1000 Subject: [PATCH] use project_id instead of _id Signed-off-by: Steve Cassidy --- app/src/gui/components/notebook/add_record_by_type.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); });