Add no camera detection to 45d2ca5 - Completes #276

This commit is contained in:
Bubka 2024-01-17 14:40:26 +01:00
parent 45d2ca55ec
commit b4e3f97313

View File

@ -31,6 +31,7 @@
if (cameras.value.length > 0) {
selectedCamera.value = cameras.value[0]
}
else errorPhrase.value = 'no_cam_on_device'
})
.catch((err) => {
onError(err)