mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-07-20 02:31:48 +00:00
Support for all event types (#212)
This commit is contained in:
@@ -332,6 +332,10 @@ export function resolveDate(entry: GedcomEntry) {
|
||||
return entry.tree.find((subEntry) => subEntry.tag === 'DATE');
|
||||
}
|
||||
|
||||
export function resolveType(entry: GedcomEntry) {
|
||||
return entry.tree.find((subEntry) => subEntry.tag === 'TYPE')?.data;
|
||||
}
|
||||
|
||||
export function mapToSource(
|
||||
sourceEntryReference: GedcomEntry,
|
||||
gedcom: GedcomData,
|
||||
|
||||
Reference in New Issue
Block a user