2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-07 04:12:11 +00:00

fix missing key issue in badge section

This commit is contained in:
Matthias Mair
2024-04-16 07:37:24 +02:00
parent 7f72842d73
commit ec2ecbe8f6

View File

@@ -59,7 +59,10 @@ export function PageDetail({
<Space />
{detail}
<Group justify="right" gap="xs" wrap="nowrap">
{badges}
{badges &&
badges.map((badge, idx) => (
<Fragment key={idx}>{badge}</Fragment>
))}
</Group>
<Space />
{actions && (