This commit is contained in:
romankko2 committed 2023-10-18 23:51:29 +02:00
1 parent 3c2fc5c25f
commit fa7ce51630
4 files changed
+9 -5

No files matched your search

+4 -1
View File
@@ -1,7 +1,7 @@
<template>
<div ref="page">
<A-task-filter v-if="$store.getters['tm/isInitialized']" :split-days="timelineData ? splitDays : null" @filter-changed="onFilterChanged" ref="filter" />
<Z-timeline v-if="timelineData" :calData="timelineData" :calConfig="config" :splits="splitDays" />
<Z-timeline v-if="timelineData && !hideCal" :calData="timelineData" :calConfig="config" :splits="splitDays" />
</div>
</template>
@@ -24,6 +24,7 @@ export default {
data() {
return {
hideCal: false,
filter: null,
subtasks: null,
config: {
@@ -174,6 +175,8 @@ export default {
this.config.scrollHour = (this.filter?.employee.work_start) - 1
this.config.date = this.filter.start
this.subtasks = [...subtasks, ...blockers]
this.hideCal = true
setTimeout(() => { this.hideCal = false }, 0)
} catch (error) {
this.$toast.error('Nepodarilo sa nacitat data!')
}
+1 -1
View File
@@ -81,7 +81,7 @@ export default {
this.subtasks = subtasks
this.blockers = blockers
this.hideCal = true
setTimeout(() => { this.hideCal = false }, 0);
setTimeout(() => { this.hideCal = false }, 0)
} catch (error) {
this.$toast.error('Nepodarilo sa nacitat data!')
}