fixes
Build And Push Image / docker (push) Successful in 3m45s Details

This commit is contained in:
Matt 2025-08-13 14:14:58 +02:00
parent 3620bd8b53
commit 7205de22c9
2 changed files with 11 additions and 6 deletions

View File

@ -452,9 +452,16 @@ const submitRSVP = async (status: 'confirmed' | 'declined') => {
rsvpLoading.value = true; rsvpLoading.value = true;
try { try {
// Use the database ID for RSVP API calls // Extract database ID - props.event is a raw Event object, not FullCalendar object
const databaseId = (props.event as any).extendedProps?.database_id || props.event.id; // Database ID is stored in 'Id' field (capital I) from NocoDB
console.log('[EventDetailsDialog] Using database ID for RSVP:', databaseId, 'from event:', props.event); const databaseId = (props.event as any).Id || (props.event as any).extendedProps?.database_id || props.event.id;
console.log('[EventDetailsDialog] Using database ID for RSVP:', databaseId);
console.log('[EventDetailsDialog] Event object keys:', Object.keys(props.event));
console.log('[EventDetailsDialog] Event Id field:', (props.event as any).Id);
if (!databaseId) {
throw new Error('Unable to determine database ID for event');
}
await rsvpToEvent(databaseId, { await rsvpToEvent(databaseId, {
member_id: '', // This will be filled by the composable member_id: '', // This will be filled by the composable

View File

@ -133,7 +133,7 @@
:color="duesColor" :color="duesColor"
:variant="duesVariant" :variant="duesVariant"
size="small" size="small"
class="flex-grow-1 mr-1" class="mr-1"
> >
<v-icon start size="12">{{ duesIcon }}</v-icon> <v-icon start size="12">{{ duesIcon }}</v-icon>
{{ duesText }} {{ duesText }}
@ -165,7 +165,6 @@
color="orange" color="orange"
variant="flat" variant="flat"
size="x-small" size="x-small"
class="flex-grow-1"
> >
<v-icon start size="10">mdi-clock-alert</v-icon> <v-icon start size="10">mdi-clock-alert</v-icon>
Due {{ formatDate(nextDuesDate) }} Due {{ formatDate(nextDuesDate) }}
@ -176,7 +175,6 @@
color="error" color="error"
variant="flat" variant="flat"
size="x-small" size="x-small"
class="flex-grow-1"
> >
<v-icon start size="10">mdi-calendar-alert</v-icon> <v-icon start size="10">mdi-calendar-alert</v-icon>
Overdue Overdue