Skip to content

Commit

Permalink
Fix canScan logic in QRCode button
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 Dec 6, 2024
1 parent 5f14676 commit 6352834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/gui/fields/qrcode/QRCodeFormField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export function QRCodeButton(props: QRCodeButtonProps): JSX.Element {
</div>
);
}
if (canScan) {
if (!canScan) {
return (
<div>
<Button variant="outlined" disabled={true}>
Expand Down

0 comments on commit 6352834

Please sign in to comment.