24.03 Handle Read Errors
This commit is contained in:
parent
8037495aea
commit
3b806cff18
@ -83,6 +83,9 @@ const actions = {
|
|||||||
// initial chcek for data
|
// initial chcek for data
|
||||||
userTasks.once('value', snapshot => {
|
userTasks.once('value', snapshot => {
|
||||||
commit('setTasksDownloaded', true)
|
commit('setTasksDownloaded', true)
|
||||||
|
}, error => {
|
||||||
|
showErrorMessage(error.message)
|
||||||
|
this.$router.replace('/auth')
|
||||||
})
|
})
|
||||||
|
|
||||||
// child added
|
// child added
|
||||||
|
Loading…
Reference in New Issue
Block a user