diff --git a/packages/frontend/src/pages/qr.read.vue b/packages/frontend/src/pages/qr.read.vue index fca6ee2daa..36c833f7b2 100644 --- a/packages/frontend/src/pages/qr.read.vue +++ b/packages/frontend/src/pages/qr.read.vue @@ -111,7 +111,7 @@ onMounted(() => { processResult, { onDecodeError(err) { - if (err === 'No QR code found') return; + if (err.toString().includes('No QR code found')) return; if (alertLock.value) return; alertLock.value = true; os.alert({