diff --git a/backend/go.mod b/backend/go.mod index ab4fb7a..2605bf5 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -4,7 +4,7 @@ go 1.24.5 require ( gitea.tecamino.com/paadi/access-handler v1.0.12 - gitea.tecamino.com/paadi/memberDB v1.0.12 + gitea.tecamino.com/paadi/memberDB v1.0.14 gitea.tecamino.com/paadi/tecamino-dbm v0.1.1 gitea.tecamino.com/paadi/tecamino-logger v0.2.1 github.com/gin-contrib/cors v1.7.6 diff --git a/backend/go.sum b/backend/go.sum index c8df035..b25665f 100644 --- a/backend/go.sum +++ b/backend/go.sum @@ -2,8 +2,8 @@ gitea.tecamino.com/paadi/access-handler v1.0.12 h1:lSmW0YrBJJvCqCg0ukTJHlFUNwd7q gitea.tecamino.com/paadi/access-handler v1.0.12/go.mod h1:w71lpnuu5MgAWG3oiI9vsY2dWi4njF/iPrM/xV/dbBQ= gitea.tecamino.com/paadi/dbHandler v1.0.4 h1:ctnaec0GDdtw3gRQdUISVDYLJ9x+vt50VW41OemfhD4= gitea.tecamino.com/paadi/dbHandler v1.0.4/go.mod h1:y/xn/POJg1DO++67uKvnO23lJQgh+XFQq7HZCS9Getw= -gitea.tecamino.com/paadi/memberDB v1.0.12 h1:chUTNlRpbB0dMcZtXpi114mrWO8G7jrTSkDYIvWzVzQ= -gitea.tecamino.com/paadi/memberDB v1.0.12/go.mod h1:iLm7nunVRzqJK8CV4PJVuWIhgPlQjNIaeOkmtfK5fMg= +gitea.tecamino.com/paadi/memberDB v1.0.14 h1:HO8YmVv9BmOguLMiubFABlQEnR3J+Qy46RwQQTXuWRs= +gitea.tecamino.com/paadi/memberDB v1.0.14/go.mod h1:iLm7nunVRzqJK8CV4PJVuWIhgPlQjNIaeOkmtfK5fMg= gitea.tecamino.com/paadi/tecamino-dbm v0.1.1 h1:vAq7mwUxlxJuLzCQSDMrZCwo8ky5usWi9Qz+UP+WnkI= gitea.tecamino.com/paadi/tecamino-dbm v0.1.1/go.mod h1:+tmf1rjPaKEoNeUcr1vdtoFIFweNG3aUGevDAl3NMBk= gitea.tecamino.com/paadi/tecamino-logger v0.2.1 h1:sQTBKYPdzn9mmWX2JXZBtGBvNQH7cuXIwsl4TD0aMgE= diff --git a/src/components/AddToEvent.vue b/src/components/AddToEvent.vue index b96c417..bb47e22 100644 --- a/src/components/AddToEvent.vue +++ b/src/components/AddToEvent.vue @@ -3,22 +3,22 @@
- {{ $t('save') }} + {{ localTitle }}
+ diff --git a/src/components/EventEditAllDialog.vue b/src/components/EventEditAllDialog.vue index 183a201..c42e3c2 100644 --- a/src/components/EventEditAllDialog.vue +++ b/src/components/EventEditAllDialog.vue @@ -50,7 +50,7 @@ function open(Event: Event | null) { if (Event !== null) { localEvent.value = { ...Event }; - newEvent.value = false; + newEvent.value = Event.id === 0; } else { localEvent.value = { id: 0, @@ -77,8 +77,8 @@ async function save() { appApi .post(query, payload) - .then(() => { - emit('update'); + .then((resp) => { + emit('update', resp.data.data); dialog.value.close(); }) .catch((err) => NotifyResponse(err, 'error'));