From f6b1ea1d76de4eea25e12bc57ca5ffc142b46117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Kalu=C5=BEa?= Date: Fri, 13 Jan 2023 14:12:57 +0100 Subject: [PATCH] [task overview] subheader quick fix --- .../tm@dashboard/tasks/_components/a-tasks-filter.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/plugins/tm@dashboard/tasks/_components/a-tasks-filter.vue b/app/src/plugins/tm@dashboard/tasks/_components/a-tasks-filter.vue index 6affdb7..6e81a48 100644 --- a/app/src/plugins/tm@dashboard/tasks/_components/a-tasks-filter.vue +++ b/app/src/plugins/tm@dashboard/tasks/_components/a-tasks-filter.vue @@ -65,11 +65,12 @@ export default { methods: { async _getData() { await this._getEmployees() - this._getWeek() + this._getWeek(false) this.$nextTick(() => { this.$emit('dataChanged', {firstDay: this.firstDay, employeeId: this.selectedEmployee}) }) }, + async _getEmployees() { this.employees = await this.$axios.get_auth_data('v1/employees') this.employees.forEach(employee => { @@ -97,7 +98,7 @@ export default { }, watch: { - selectedTeam() { + selectedEmployee() { this.$emit('dataChanged', {firstDay: this.firstDay, employeeId: this.selectedEmployee}) } }