mirror of
https://github.com/GuerillaStudio/souvenir.git
synced 2025-01-20 22:10:20 +00:00
feat(welcome): Add an alert when there is no camera or it's not allowed
This commit is contained in:
parent
bcf1dc9b52
commit
6b893f272d
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ export default new Vuex.Store({
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
|
window.alert('You haven\'t allowed to use your camera.\n\nOr maybe your browser is not compatible :(')
|
||||||
commit('updateWelcomed', false)
|
commit('updateWelcomed', false)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue