24.03 Handle Read Errors

This commit is contained in:
Fredrick W. Warren 2021-02-15 12:16:09 -08:00
parent 8037495aea
commit 3b806cff18

View File

@ -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