[Search] Fixed search refresh after action

This commit is contained in:
Matej Glasnák committed 2023-04-11 11:51:31 +02:00
1 parent 66e6b84bd9
commit 750f3dd59a
6 files changed
+54 -26

No files matched your search

+1 -1
View File
@@ -121,7 +121,7 @@ export default {
try {
const { subtasks, blockers } = await this.$axios.get_auth(`v1/subtasks?${queryParameters}`)
this.config.scrollHour = this.filter?.employee.work_start - 1
this.config.scrollHour = (this.filter?.employee.work_start / 60) - 1
this.config.date = this.filter.start
this.subtasks = [...subtasks, ...blockers.map(blocker => ({...blocker, type: 'blocker'}))]
} catch (error) {