mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 22:39:34 +00:00
30 lines
548 B
Vue
30 lines
548 B
Vue
<template>
|
|
<W-loadable :content="ongoingTasks">
|
|
<A-ongoing-tasks :tasks="ongoingTasks" />
|
|
</W-loadable>
|
|
</template>
|
|
|
|
<script>
|
|
import AOngoingTasks from './_components/a-ongoing-tasks-overview.vue'
|
|
|
|
export default {
|
|
components: {
|
|
AOngoingTasks
|
|
},
|
|
|
|
data() {
|
|
return {
|
|
ongoingTasks: null
|
|
}
|
|
},
|
|
|
|
async created() {
|
|
try {
|
|
this.ongoingTasks = await this.$axios.get_auth_data('v1/overview/ongoing-tasks')
|
|
} catch (error) {
|
|
this.unscheduledTasks = {error: error.data.error}
|
|
this.$toast.error(error.data.error)
|
|
}
|
|
}
|
|
}
|
|
</script> |