diff --git a/app/src/plugins/tm@dashboard/_components/z-timeline.vue b/app/src/plugins/tm@dashboard/_components/z-timeline.vue index 2f486a1..dac001c 100644 --- a/app/src/plugins/tm@dashboard/_components/z-timeline.vue +++ b/app/src/plugins/tm@dashboard/_components/z-timeline.vue @@ -34,6 +34,10 @@
{{ split.firstName }}
+ +{{ split.date.toLocaleDateString('sk-SK', { weekday: 'long' }) }}
+ +{{split.initials}}
@@ -305,6 +309,12 @@ export default { font-size: 24px font-weight: 700 + .day-name + text-align: left + font-size: 18px + font-weight: 500 + text-transform: capitalize + .unscheduled-time background: rgba(0, 0, 0, 0.04) border-radius: 24px 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}) } }