Skip to content

Commit 5c03e69

Browse files
committed
Next try, also fix English
1 parent fde2e46 commit 5c03e69

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/components/LoginForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ onMounted(() => {
118118
<div>
119119
<StandardButton
120120
type="button"
121-
text="I am a Exhibitor"
121+
text="I am an Exhibitor"
122122
class="btn-primary mt-6 w-full justify-center"
123123
@click="handleRoleSelection('Exhibitor')"
124124
/>

src/components/Utilities/QRCamera.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ function switchCamera() {
8282
console.log('switchCamera: having the following cameras:')
8383
console.log(cameraStore.cameraDevices)
8484
console.log('switchCamera: cameraDevices.value = ' + cameraStore.cameraDevices.value)
85-
if (cameraStore.cameraDevices.length === 0) {
85+
console.log('camerastore.cameradevices.length = ' + cameraStore.cameraDevices.length)
86+
if (cameraStore.cameraDevices.length === 1 && cameraStore.cameraDevices[0].id == "") {
8687
console.log("No cameras found in cameraStore, re-enumerating them")
8788
updateAvailableCamera()
8889
}

0 commit comments

Comments
 (0)