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

ObjectList: adjust cut-off

parent ff79f39b
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ const ObjectList = props => {
{Array.isArray(firstValue.prefLabel) ?
firstValue.prefLabel[0]
: firstValue.prefLabel}
{isArray && '...'}
{isArray && ' ...'}
</span>
);
} else {
......@@ -59,15 +59,14 @@ const ObjectList = props => {
href={id}
>
{Array.isArray(prefLabel) ? prefLabel[0] : prefLabel}
{isArray && '...'}
</a>
}
{!props.externalLink &&
<Link to={dataProviderUrl}>
{Array.isArray(prefLabel) ? prefLabel[0] : prefLabel}
{isArray && '...'}
</Link>
}
{isArray && <span> ...</span>}
</React.Fragment>
);
};
......
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