mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
[task overview] subheader quick fix
This commit is contained in:
1 parent
90cd75349c
commit
f6b1ea1d76
1 file changed
+3
-2
@@ -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})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user