style(persons): apply prettier formatting to PersonCard hasNoName derived
All checks were successful
CI / Unit & Component Tests (pull_request) Successful in 3m31s
CI / OCR Service Tests (pull_request) Successful in 22s
CI / Backend Unit Tests (pull_request) Successful in 3m43s
CI / fail2ban Regex (pull_request) Successful in 43s
CI / Semgrep Security Scan (pull_request) Successful in 20s
CI / Compose Bucket Idempotency (pull_request) Successful in 1m1s
All checks were successful
CI / Unit & Component Tests (pull_request) Successful in 3m31s
CI / OCR Service Tests (pull_request) Successful in 22s
CI / Backend Unit Tests (pull_request) Successful in 3m43s
CI / fail2ban Regex (pull_request) Successful in 43s
CI / Semgrep Security Scan (pull_request) Successful in 20s
CI / Compose Bucket Idempotency (pull_request) Successful in 1m1s
Pure formatting (line wrap) so the file passes prettier --check; no behaviour change. Refs #667 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit was merged in pull request #679.
This commit is contained in:
@@ -16,7 +16,9 @@ const isUnconfirmed = $derived(person.provisional === true);
|
||||
// An empty / "?" last name is a separate, purely defensive concern: it must not crash the
|
||||
// initials branch (reading lastName[0] on null throws) and must never render a "?" initial.
|
||||
// It implies the placeholder glyph but — on its own — no "unbestätigt" badge.
|
||||
const hasNoName = $derived(person.lastName == null || person.lastName.trim() === '' || person.lastName === '?');
|
||||
const hasNoName = $derived(
|
||||
person.lastName == null || person.lastName.trim() === '' || person.lastName === '?'
|
||||
);
|
||||
|
||||
// A non-PERSON type (institution/group) gets a typed glyph; a confirmed, named person gets
|
||||
// initials. Provisional entries and nameless entries fall back to the neutral placeholder glyph.
|
||||
|
||||
Reference in New Issue
Block a user