mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-03-15 20:13:45 +00:00
Added key to prevent errors showing in the console
This commit is contained in:
@@ -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),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user