Added key to prevent errors showing in the console

This commit is contained in:
Przemek Wiech 2019-03-24 23:49:27 +01:00
parent 9eecc7a0fd
commit 4fc3e6d2d4

View File

@ -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),
};