[Profile] Update fixed

This commit is contained in:
Matej Glasnák committed 2023-03-13 21:54:14 +01:00
1 parent 0d5bfa3b9b
commit eb7b44fbfe
4 files changed
+54 -75

No files matched your search

+6 -2
View File
@@ -11,6 +11,7 @@ import ZTimeline from '@/plugins/tm@dashboard/_components/z-timeline.vue
import { addDays, subDays } from 'date-fns'
import moment from 'moment'
import timelineUtils from './_utils/timeline.utils'
import { mapGetters } from 'vuex'
export default {
components: {
@@ -30,6 +31,10 @@ export default {
},
computed: {
...mapGetters('auth', [
'user'
]),
splitDays() {
const days = []
const workingHours = {}
@@ -89,8 +94,7 @@ export default {
},
unmounted() {
this.$events.off('on-subtask-edited')
this.$events.off('on-subtask-deleted')
this.$events.off('on-user-updated')
},
methods: {