feat(welcome): Add an alert when there is no camera or it's not allowed

This commit is contained in:
Tixie 2019-03-15 20:47:27 +01:00
parent bcf1dc9b52
commit 6b893f272d

View file

@ -108,6 +108,7 @@ export default new Vuex.Store({
})
.catch(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)
})
},