From 98c0ed81d4b56d8d0ce30108b5049f0e3cf9988f Mon Sep 17 00:00:00 2001 From: elpatron Date: Mon, 1 Jun 2026 19:07:37 +0200 Subject: [PATCH] Raise Stammcrew pool limit from 5 to 12 crew members. Co-authored-by: Cursor --- client/src/components/CrewForm.tsx | 3 ++- client/src/i18n/locales/da.json | 2 +- client/src/i18n/locales/de.json | 2 +- client/src/i18n/locales/en.json | 2 +- client/src/i18n/locales/nb.json | 2 +- client/src/i18n/locales/sv.json | 2 +- client/src/types/person.ts | 2 +- 7 files changed, 8 insertions(+), 7 deletions(-) diff --git a/client/src/components/CrewForm.tsx b/client/src/components/CrewForm.tsx index ebaeaf0..e37b9cc 100644 --- a/client/src/components/CrewForm.tsx +++ b/client/src/components/CrewForm.tsx @@ -6,6 +6,7 @@ import { getLogbookKey } from '../services/logbookKeys.js' import { encryptJson, decryptJson } from '../services/crypto.js' import { syncLogbook } from '../services/sync.js' import { PlausibleEvents, trackPlausibleEvent } from '../services/analytics.js' +import { MAX_POOL_CREW_MEMBERS } from '../types/person.js' import { useDialog } from './ModalDialog.tsx' import { Users, User, Plus, Trash2, Edit2, Save, X, Check, Camera } from 'lucide-react' @@ -603,7 +604,7 @@ export default function CrewForm({

{t('crew.crew_section')}

- {!readOnly && crewList.length < 5 && !showMemberForm && ( + {!readOnly && crewList.length < MAX_POOL_CREW_MEMBERS && !showMemberForm && (