22.03 Make the Loading View Pretty
This commit is contained in:
parent
13559be43a
commit
c0002b274c
@ -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>
|
||||||
|
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user