22.03 Make the Loading View Pretty

This commit is contained in:
Fredrick W. Warren 2021-02-15 10:17:40 -08:00
parent 13559be43a
commit c0002b274c
2 changed files with 8 additions and 4 deletions

View File

@ -40,7 +40,12 @@
</template> </template>
<template v-else> <template v-else>
<p>Loading...</p> <div class="absolute-center">
<q-spinner
color="primary"
size="6em"
></q-spinner>
</div>
</template> </template>
</div> </div>

View File

@ -48,8 +48,7 @@ const mutations = {
}, },
setTasksDownloaded (state, value) { setTasksDownloaded (state, value) {
state.tasksDownloaded = value state.tasksDownloaded = value
}, }
} }
const actions = { const actions = {
@ -117,7 +116,7 @@ const actions = {
const userId = firebaseAuth.currentUser.uid const userId = firebaseAuth.currentUser.uid
const taskRef = firebaseDb.ref('tasks/' + userId + '/' + taskId) const taskRef = firebaseDb.ref('tasks/' + userId + '/' + taskId)
taskRef.remove() taskRef.remove()
} }
} }
const getters = { const getters = {