ProductBarcode: fix error on pages/Scanner.vue when using a barcode

This commit is contained in:
Crumb Owl
2025-07-01 11:32:34 +02:00
parent c3af4ac4ac
commit 7c56bfb4ab

View File

@@ -201,10 +201,12 @@
console.info("Barcode detected");
detectedBarcode.value = result.getText();
break;
default:
handleError(err);
}
loading.value = false;
handleError(err);
}
}
if (err && !(err instanceof NotFoundException)) {