Skip to content
Snippets Groups Projects
Commit 059ca9ad authored by esikkala's avatar esikkala
Browse files

Result table: handle multiple preflabels

parent aa35289c
No related branches found
No related tags found
No related merge requests found
...@@ -128,7 +128,7 @@ const ResultTableCell = props => { ...@@ -128,7 +128,7 @@ const ResultTableCell = props => {
target='_blank' rel='noopener noreferrer' target='_blank' rel='noopener noreferrer'
href={cell.dataProviderUrl} href={cell.dataProviderUrl}
> >
{cell.prefLabel} {Array.isArray(cell.prefLabel) ? cell.prefLabel[0] : cell.prefLabel}
</a> </a>
); );
} else { } else {
......
...@@ -97,7 +97,7 @@ export const INITIAL_STATE = { ...@@ -97,7 +97,7 @@ export const INITIAL_STATE = {
makeLink: true, makeLink: true,
sortValues: true, sortValues: true,
numberedList: false, numberedList: false,
minWidth: 150 minWidth: 200
}, },
{ {
id: 'work', id: 'work',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment