diff --git a/client/src/services/quickEventLog.ts b/client/src/services/quickEventLog.ts index 55b703d..2a60eb9 100644 --- a/client/src/services/quickEventLog.ts +++ b/client/src/services/quickEventLog.ts @@ -154,7 +154,7 @@ export async function loadEntry(logbookId: string, entryId: string): Promise): number { const events = (data.events as unknown[] | undefined)?.length ?? 0 - const signed = data.signSkipper || data.signCrew ? 1 : 0 + const signed = (data.signSkipper || data.signCrew) ? 1 : 0 const destination = String(data.destination || '').trim() ? 1 : 0 return events * 10 + signed + destination }