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: {
|
methods: {
|
||||||
async _getData() {
|
async _getData() {
|
||||||
await this._getEmployees()
|
await this._getEmployees()
|
||||||
this._getWeek()
|
this._getWeek(false)
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$emit('dataChanged', {firstDay: this.firstDay, employeeId: this.selectedEmployee})
|
this.$emit('dataChanged', {firstDay: this.firstDay, employeeId: this.selectedEmployee})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
async _getEmployees() {
|
async _getEmployees() {
|
||||||
this.employees = await this.$axios.get_auth_data('v1/employees')
|
this.employees = await this.$axios.get_auth_data('v1/employees')
|
||||||
this.employees.forEach(employee => {
|
this.employees.forEach(employee => {
|
||||||
@@ -97,7 +98,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
selectedTeam() {
|
selectedEmployee() {
|
||||||
this.$emit('dataChanged', {firstDay: this.firstDay, employeeId: this.selectedEmployee})
|
this.$emit('dataChanged', {firstDay: this.firstDay, employeeId: this.selectedEmployee})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user