mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
Bugfixing
This commit is contained in:
1 parent
718432b82a
commit
1ef4bbd437
5 files changed
+28
-16
No files matched your search
@@ -4,7 +4,7 @@
|
||||
v-model="selectedEmployee"
|
||||
class="subheader-input"
|
||||
:items="[null, ...employees]"
|
||||
item-title="fullName"
|
||||
item-title="_fullName"
|
||||
item-value="id"
|
||||
label="Zamestnanec"
|
||||
variant="outlined"
|
||||
@@ -77,7 +77,7 @@ export default {
|
||||
async _getEmployees() {
|
||||
this.employees = await this.$axios.get_auth_data('v1/employees')
|
||||
this.employees.forEach(employee => {
|
||||
employee.fullName = `${employee.name} ${employee.surname}`
|
||||
employee._fullName = `${employee.name} ${employee.surname}`
|
||||
if (employee.id == this.user.id) this.selectedEmployee = employee
|
||||
})
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user