diff --git a/dictionaries/de.json b/dictionaries/de.json index f5d86a4..3763648 100644 --- a/dictionaries/de.json +++ b/dictionaries/de.json @@ -834,5 +834,7 @@ "swap request": "Tauschanfrage", "Waiting for": "Warten auf", "approval(s)": "Genehmigung(en)", - "All approved": "Alle genehmigt" + "All approved": "Alle genehmigt", + "Slot": "Zeitfenster", + "© 2024 Playchoo Manager. Venue administration portal.": "© 2024 Playchoo Manager. Verwaltungsportal für Veranstaltungsorte." } diff --git a/dictionaries/en.json b/dictionaries/en.json index ca68bf0..99551c4 100644 --- a/dictionaries/en.json +++ b/dictionaries/en.json @@ -866,5 +866,7 @@ "Checking authentication...": "Checking authentication...", "Redirecting to login...": "Redirecting to login...", "Please log in to access the venue management portal.": "Please log in to access the venue management portal.", - "If you are a venue administrator and do not have access, please contact support.": "If you are a venue administrator and do not have access, please contact support." + "If you are a venue administrator and do not have access, please contact support.": "If you are a venue administrator and do not have access, please contact support.", + "Slot": "Slot", + "© 2024 Playchoo Manager. Venue administration portal.": "© 2024 Playchoo Manager. Venue administration portal." } diff --git a/dictionaries/fr.json b/dictionaries/fr.json index c36b2bc..300e257 100644 --- a/dictionaries/fr.json +++ b/dictionaries/fr.json @@ -830,5 +830,7 @@ "swap request": "demande d'échange", "Waiting for": "En attente de", "approval(s)": "approbation(s)", - "All approved": "Toutes approuvées" + "All approved": "Toutes approuvées", + "Slot": "Créneau", + "© 2024 Playchoo Manager. Venue administration portal.": "© 2024 Playchoo Manager. Portail d'administration de lieu." } diff --git a/src/app/[locale]/admin/clubs/[club_id]/tabs/ClubProfileTab.tsx b/src/app/[locale]/admin/clubs/[club_id]/tabs/ClubProfileTab.tsx index 198ff5a..38d50c7 100644 --- a/src/app/[locale]/admin/clubs/[club_id]/tabs/ClubProfileTab.tsx +++ b/src/app/[locale]/admin/clubs/[club_id]/tabs/ClubProfileTab.tsx @@ -251,7 +251,7 @@ export default function ClubProfileTab({ clubId, onUpdate }: ClubProfileTabProps } function hasFieldValue(value: string): boolean { - return value && value.trim().length > 0; + return Boolean(value && value.trim().length > 0); } // Loading state