Add key for DataLinkButtons (#34935)

This commit is contained in:
Ivana Huckova
2021-05-28 21:57:51 +02:00
committed by GitHub
parent 0392a5daa1
commit f16b2c40c1
@@ -167,15 +167,12 @@ class UnThemedLogDetailsRow extends PureComponent<Props, State> {
<td className={style.logDetailsLabel}>{parsedKey}</td>
<td className={cx(styles.wordBreakAll, wrapLogMessage && styles.wrapLine)}>
{parsedValue}
{links &&
links.map((link) => {
return (
<>
&nbsp;
<DataLinkButton link={link} />
</>
);
})}
{links?.map((link) => (
<span key={link.title}>
&nbsp;
<DataLinkButton link={link} />
</span>
))}
{showFieldsStats && (
<LogLabelStats
stats={fieldStats!}