From 6b893f272df2a87286cf0ccc1e31586328c68838 Mon Sep 17 00:00:00 2001 From: Tixie Date: Fri, 15 Mar 2019 20:47:27 +0100 Subject: [PATCH] feat(welcome): Add an alert when there is no camera or it's not allowed --- src/store.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/store.js b/src/store.js index 4282fce..04755ce 100644 --- a/src/store.js +++ b/src/store.js @@ -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) }) },