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
0cf30d75e3
commit
3902cbd601
5 files changed
+97
-6
No files matched your search
@@ -38,6 +38,7 @@
|
||||
v-model="team.employees[index]._fullName"
|
||||
>
|
||||
</v-text-field>
|
||||
|
||||
<v-icon
|
||||
class="remove-input"
|
||||
@click.stop="team.employees.splice(index, 1)"
|
||||
@@ -125,9 +126,9 @@ export default {
|
||||
|
||||
try {
|
||||
if (this.team.id)
|
||||
await this.$axios.patch_auth(`v1/teams/${this.team.id}`, this.team)
|
||||
await this.$axios.put_auth_data(`v1/teams/${this.team.id}`, this.team)
|
||||
else
|
||||
await this.$axios.post_auth(`v1/teams`, this.team)
|
||||
await this.$axios.post_auth_data(`v1/teams`, this.team)
|
||||
|
||||
this.$emit('update', this.team)
|
||||
this.closeModal()
|
||||
|
||||
Reference in new issue
Block a user