[Bugfix] Cannot read properties of null (.split())

This commit is contained in:
Matej Glasnák committed 2024-09-18 17:59:56 +02:00
1 parent 2ffa3e24c8
commit e1e46a5c0b
87 files changed
+186 -78

No files matched your search

@@ -238,6 +238,9 @@ export default {
this.$events.emit('show-task-add-time-modal', { subtask })
} catch (error) {
this.$toast.error(error.message || error)
if (process.env.NODE_ENV === 'development')
console.log('[z-timeline.vue] Error: ', error)
}
const isAfterDeadline = this.isAfterDeadline(event)
@@ -263,6 +266,9 @@ export default {
this.$events.emit('on-subtask-edited', subtask)
} catch (error) {
this.$toast.error(error.message || error)
if (process.env.NODE_ENV === 'development')
console.log('[z-timeline.vue] Error: ', error)
}
}
},
@@ -345,6 +351,9 @@ export default {
this.$events.emit('show-task-add-time-modal', { subtask })
} catch (error) {
this.$toast.error(error.message || error)
if (process.env.NODE_ENV === 'development')
console.log('[z-timeline.vue] Error: ', error)
}
},
@@ -118,6 +118,9 @@ export default {
this.mastertasks = mastertasks
} catch (error) {
this.$toast.error('Nepodarilo sa nacitat data!')
if (process.env.NODE_ENV === 'development')
console.log('[projects.vue] Error: ', error)
}
setTimeout(() => {
@@ -179,6 +179,9 @@ export default {
setTimeout(() => { this.hideCal = false }, 0)
} catch (error) {
this.$toast.error('Nepodarilo sa nacitat data!')
if (process.env.NODE_ENV === 'development')
console.log('[tasks.vue] Error: ', error)
}
setTimeout(() => {
+5 -2
View File
@@ -9,7 +9,7 @@
import ATeamFilter from './_components/a-team-filter.vue'
import ZTimeline from '@/plugins/tm@dashboard/_components/z-timeline.vue'
import moment from 'moment'
import TeamsCalendar from './_mixins/TeamsCalendar.mixin'
import TeamsCalendar from './_mixins/TeamsCalendar.mixin'
import FilterMixin from '../_mixins/Filter.mixin'
import { mapGetters } from 'vuex'
@@ -64,7 +64,7 @@ export default {
this.$events.off('on-blocker-deleted')
},
methods: {
methods: {
async onFilterChanged(filter) {
this.filter = filter
@@ -84,6 +84,9 @@ export default {
setTimeout(() => { this.hideCal = false }, 0)
} catch (error) {
this.$toast.error('Nepodarilo sa nacitat data!')
if (process.env.NODE_ENV === 'development')
console.log('[teams.vue] Error: ', error)
}
setTimeout(() => {