Import normalizer: offline tool to normalize the raw archive spreadsheets #663
@@ -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
|
// 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.
|
// 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.
|
// 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
|
// 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.
|
// initials. Provisional entries and nameless entries fall back to the neutral placeholder glyph.
|
||||||
|
|||||||
Reference in New Issue
Block a user