3 Commits

Author SHA1 Message Date
Adrian Zürcher
1fe2bd24b0 fix only one event per day close #44 2026-02-12 16:25:56 +01:00
Adrian Zürcher
35fcd31a20 amount card hide when empty data 2026-02-12 16:25:44 +01:00
Adrian Zürcher
d2d7c83684 fix selected memebers after adding close #41 2026-02-12 15:54:04 +01:00
4 changed files with 8 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ go 1.25.4
require ( require (
gitea.tecamino.com/paadi/access-handler v1.0.34 gitea.tecamino.com/paadi/access-handler v1.0.34
gitea.tecamino.com/paadi/memberDB v1.1.27 gitea.tecamino.com/paadi/memberDB v1.1.28
gitea.tecamino.com/paadi/tecamino-dbm v0.1.1 gitea.tecamino.com/paadi/tecamino-dbm v0.1.1
gitea.tecamino.com/paadi/tecamino-logger v0.2.1 gitea.tecamino.com/paadi/tecamino-logger v0.2.1
github.com/gin-contrib/cors v1.7.6 github.com/gin-contrib/cors v1.7.6

View File

@@ -2,8 +2,8 @@ gitea.tecamino.com/paadi/access-handler v1.0.34 h1:6P65HiusSfvgv/ezOvxSahqyRJMK9
gitea.tecamino.com/paadi/access-handler v1.0.34/go.mod h1:HyMp1WvzmqLw8Ljt3r1qlF8fY+T5WFXr9Da/CTIM0H8= gitea.tecamino.com/paadi/access-handler v1.0.34/go.mod h1:HyMp1WvzmqLw8Ljt3r1qlF8fY+T5WFXr9Da/CTIM0H8=
gitea.tecamino.com/paadi/dbHandler v1.1.11 h1:hTpMWRr4dW7TkiBnEku0/3ggDC7/uP82U9paRKY/QEs= gitea.tecamino.com/paadi/dbHandler v1.1.11 h1:hTpMWRr4dW7TkiBnEku0/3ggDC7/uP82U9paRKY/QEs=
gitea.tecamino.com/paadi/dbHandler v1.1.11/go.mod h1:y/xn/POJg1DO++67uKvnO23lJQgh+XFQq7HZCS9Getw= gitea.tecamino.com/paadi/dbHandler v1.1.11/go.mod h1:y/xn/POJg1DO++67uKvnO23lJQgh+XFQq7HZCS9Getw=
gitea.tecamino.com/paadi/memberDB v1.1.27 h1:UJ/CHKc2CKd+TZ5HiGMK6p/A8wNqGUy9JjpmaPtKrEA= gitea.tecamino.com/paadi/memberDB v1.1.28 h1:QSgPFIvzWS17bAIHp01nqUG5CQuE74AckrdYg6xZljw=
gitea.tecamino.com/paadi/memberDB v1.1.27/go.mod h1:uLoKel+EcuXUzxAY5ugfWh640TSomfTJR+g8Jfe8YKI= gitea.tecamino.com/paadi/memberDB v1.1.28/go.mod h1:uLoKel+EcuXUzxAY5ugfWh640TSomfTJR+g8Jfe8YKI=
gitea.tecamino.com/paadi/tecamino-dbm v0.1.1 h1:vAq7mwUxlxJuLzCQSDMrZCwo8ky5usWi9Qz+UP+WnkI= 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-dbm v0.1.1/go.mod h1:+tmf1rjPaKEoNeUcr1vdtoFIFweNG3aUGevDAl3NMBk=
gitea.tecamino.com/paadi/tecamino-logger v0.2.1 h1:sQTBKYPdzn9mmWX2JXZBtGBvNQH7cuXIwsl4TD0aMgE= gitea.tecamino.com/paadi/tecamino-logger v0.2.1 h1:sQTBKYPdzn9mmWX2JXZBtGBvNQH7cuXIwsl4TD0aMgE=

View File

@@ -165,6 +165,8 @@ function loadSettings() {
} }
} }
function applyDateChoice() { function applyDateChoice() {
amounts.value = [];
loading.value = true; loading.value = true;
dropdownRef.value.hide(); dropdownRef.value.hide();
@@ -213,6 +215,7 @@ function applyDateChoice() {
'Sunday', 'Sunday',
'total', 'total',
]; ];
amounts.value = days amounts.value = days
.filter((day) => data.data[day]) // Only include days that exist in the response .filter((day) => data.data[day]) // Only include days that exist in the response
.map((day) => ({ .map((day) => ({

View File

@@ -445,7 +445,8 @@ async function addMemberTo() {
}) })
.catch((err) => { .catch((err) => {
NotifyResponse(err, 'error'); NotifyResponse(err, 'error');
}); })
.finally(() => (selected.value = []));
if (inProps.addAttendees) { if (inProps.addAttendees) {
await updateMemberLastVisit(selected.value); await updateMemberLastVisit(selected.value);