Skip to content

Commit 738a2c1

Browse files
authored
fix(11499): Moved assoc assets label to widget (#24451)
* fix(11499): Moved assoc assets label to widget * fix(11488): Added missing key attribute
1 parent f268d52 commit 738a2c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graylog2-web-interface/src/views/components/messagelist/FormatAssetList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const FormatAssetList = ({ associated_assets, fieldType }: { associated_assets:
3838
() =>
3939
pluggableAssetListComponent.map(({ component: PluggableAssetListItem }) => (
4040
<PluggableAssetListItem
41+
key={associated_assets[0]}
4142
assetIds={associated_assets}
4243
direction="col"
4344
addToQuery={(id) => handleAddToQuery(dispatch, queryId, id, fieldType)}
@@ -52,7 +53,6 @@ const FormatAssetList = ({ associated_assets, fieldType }: { associated_assets:
5253

5354
return (
5455
<div>
55-
<dt>Associated Assets</dt>
5656
{assetsList.map((assetElement) => (
5757
<div key={assetElement.props.assetIds[0]}>{assetElement}</div>
5858
))}

0 commit comments

Comments
 (0)