mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-02-18 02:55:48 +00:00
Added key to prevent errors showing in the console
This commit is contained in:
parent
9eecc7a0fd
commit
4fc3e6d2d4
@ -42,6 +42,7 @@ function getDescriptionLine(indi: GedcomEntry, intl: InjectedIntl) {
|
||||
export function displaySearchResult(result: SearchResult, intl: InjectedIntl) {
|
||||
return {
|
||||
id: result.id,
|
||||
key: result.id,
|
||||
title: getNameLine(result),
|
||||
description: getDescriptionLine(result.indi, intl),
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user