mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
.
This commit is contained in:
1 parent
647125e7fd
commit
8754a2d93c
2 files changed
+5
-2
No files matched your search
@@ -125,10 +125,13 @@ export default {
|
||||
return
|
||||
|
||||
try {
|
||||
if (this.team.id)
|
||||
if (this.team.id) {
|
||||
await this.$axios.post_auth(`v1/teams/${this.team.id}`, this.team)
|
||||
this.$emit('update', this.team)
|
||||
}
|
||||
else
|
||||
await this.$axios.post_auth(`v1/teams`, this.team)
|
||||
this.$emit('update', this.team)
|
||||
|
||||
this.closeModal()
|
||||
} catch (error) {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
class="subheader-input"
|
||||
variant="outlined"
|
||||
label="Zamestanec"
|
||||
:items="allEmployees"
|
||||
:items="[null, ...allEmployees]"
|
||||
item-title="fullName"
|
||||
item-value="id"
|
||||
></v-select>
|
||||
|
||||
Reference in new issue
Block a user