mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-25 17:54:57 +01:00
Add ability to refresh page after camera perms were restored
This commit is contained in:
parent
74bb228483
commit
af38c01f0f
@ -114,6 +114,10 @@
|
|||||||
ctx.stroke()
|
ctx.stroke()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function reloadLocation() {
|
||||||
|
location.reload()
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@ -145,6 +149,9 @@
|
|||||||
<FontAwesomeIcon :icon="['far', 'star']" class="mr-1" />
|
<FontAwesomeIcon :icon="['far', 'star']" class="mr-1" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<p>
|
||||||
|
<a @click.stop="reloadLocation">{{ $t('commons.refresh') }}</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
<!-- <div class="addressbar">
|
<!-- <div class="addressbar">
|
||||||
<FontAwesomeIcon :icon="['fas', 'video-slash']" class="mr-3 ml-2" size="xs" />
|
<FontAwesomeIcon :icon="['fas', 'video-slash']" class="mr-3 ml-2" size="xs" />
|
||||||
@ -164,7 +171,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<div class="fullscreen-streamer">
|
<div v-show="!errorPhrase" class="fullscreen-streamer">
|
||||||
<qrcode-stream
|
<qrcode-stream
|
||||||
v-if="selectedDevice !== null"
|
v-if="selectedDevice !== null"
|
||||||
:constraints="{ deviceId: selectedDevice.deviceId }"
|
:constraints="{ deviceId: selectedDevice.deviceId }"
|
||||||
|
Loading…
Reference in New Issue
Block a user