From 22dbbae1500ef5c5b20617b41f266e82b593aa1c Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 12 Aug 2025 12:43:54 +0200 Subject: [PATCH] fixes --- DEPLOYMENT_FORCE_UPDATE.md | 16 ++++++++ components/AdminConfigurationDialog.vue | 53 +++++++++++++++++++++++-- 2 files changed, 66 insertions(+), 3 deletions(-) create mode 100644 DEPLOYMENT_FORCE_UPDATE.md diff --git a/DEPLOYMENT_FORCE_UPDATE.md b/DEPLOYMENT_FORCE_UPDATE.md new file mode 100644 index 0000000..5a821fc --- /dev/null +++ b/DEPLOYMENT_FORCE_UPDATE.md @@ -0,0 +1,16 @@ +# Deployment Force Update + +This file was created to force a deployment update to include the Events and RSVPs table configuration fields in the admin dialog. + +**Updated**: 2025-08-12 12:43 PM +**Reason**: Add missing Events and RSVPs table configuration to production build - FIXED CORRECT COMPONENT + +## Changes Included: +- ✅ Events Table ID configuration field +- ✅ RSVPs Table ID configuration field +- ✅ Updated AdminConfigurationDialog component (the actual production component) +- ✅ Fixed TypeScript errors +- ✅ Added proper form validation for new fields + +## Root Cause Identified: +Production was using AdminConfigurationDialog.vue, not NocoDBSettingsDialog.vue. The correct component has now been updated. diff --git a/components/AdminConfigurationDialog.vue b/components/AdminConfigurationDialog.vue index 76eef60..61f5020 100644 --- a/components/AdminConfigurationDialog.vue +++ b/components/AdminConfigurationDialog.vue @@ -92,6 +92,10 @@ /> + +

Table Configuration

+
+ +
+ Configure the table ID for the Members functionality +
+
+ + + +
+ Configure the table ID for the Events functionality +
+
+ + + +
+ Configure the table ID for the Event RSVPs functionality +
@@ -562,7 +597,11 @@ const nocodbForm = ref({ url: 'https://database.monacousa.org', apiKey: '', baseId: '', - tables: { members: '' } + tables: { + members: '', + events: '', + rsvps: '' + } }); const recaptchaForm = ref({ @@ -658,7 +697,11 @@ const loadConfigurations = async () => { if (nocodbResponse.success && nocodbResponse.data) { nocodbForm.value = { ...nocodbResponse.data }; if (!nocodbForm.value.tables) { - nocodbForm.value.tables = { members: '' }; + nocodbForm.value.tables = { + members: '', + events: '', + rsvps: '' + }; } } @@ -840,7 +883,11 @@ const resetForms = () => { url: 'https://database.monacousa.org', apiKey: '', baseId: '', - tables: { members: '' } + tables: { + members: '', + events: '', + rsvps: '' + } }; recaptchaForm.value = {