mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-21 04:07:44 +02:00
Add no camera detection to 45d2ca5 - Completes #276
This commit is contained in:
parent
45d2ca55ec
commit
b4e3f97313
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user