Skip to content

Commit

Permalink
use project_id instead of _id
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Cassidy <steve.cassidy@mq.edu.au>
  • Loading branch information
stevecassidy committed Sep 27, 2024
1 parent 5d750ca commit 3697ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/gui/components/notebook/add_record_by_type.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});

Expand Down

0 comments on commit 3697ec4

Please sign in to comment.