diff --git a/src/store/store-tasks.js b/src/store/store-tasks.js index da617ab..1084a25 100644 --- a/src/store/store-tasks.js +++ b/src/store/store-tasks.js @@ -83,6 +83,9 @@ const actions = { // initial chcek for data userTasks.once('value', snapshot => { commit('setTasksDownloaded', true) + }, error => { + showErrorMessage(error.message) + this.$router.replace('/auth') }) // child added