2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-10 05:40:55 +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 /> <Space />
{detail} {detail}
<Group justify="right" gap="xs" wrap="nowrap"> <Group justify="right" gap="xs" wrap="nowrap">
{badges} {badges &&
badges.map((badge, idx) => (
<Fragment key={idx}>{badge}</Fragment>
))}
</Group> </Group>
<Space /> <Space />
{actions && ( {actions && (