We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58e4bec commit 543c905Copy full SHA for 543c905
1 file changed
src/components/Utilities/QRCamera.vue
@@ -79,7 +79,7 @@ async function detectedQR([result]) {
79
80
function switchCamera() {
81
destroyed.value = true
82
- if (cameraStore.cameraDevices.length < 0) {
+ if (cameraStore.cameraDevices.length == 0) {
83
console.log("No cameras found in cameraStore, re-enumerationg them")
84
updateAvailableCamera()
85
}
0 commit comments