mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-10 22:00:56 +00:00
make sure license keys are unique
This commit is contained in:
@@ -23,7 +23,10 @@ export function LicenceView(entries: Readonly<any[]>) {
|
|||||||
{entries?.length > 0 ? (
|
{entries?.length > 0 ? (
|
||||||
<Accordion variant="contained" defaultValue="-">
|
<Accordion variant="contained" defaultValue="-">
|
||||||
{entries?.map((entry: any, index: number) => (
|
{entries?.map((entry: any, index: number) => (
|
||||||
<Accordion.Item key={entry.name} value={`entry-${index}`}>
|
<Accordion.Item
|
||||||
|
key={`${entry.name}-${entry.version}`}
|
||||||
|
value={`entry-${index}`}
|
||||||
|
>
|
||||||
<Accordion.Control>
|
<Accordion.Control>
|
||||||
<Group justify="space-between" grow>
|
<Group justify="space-between" grow>
|
||||||
<Text>{entry.name}</Text>
|
<Text>{entry.name}</Text>
|
||||||
|
Reference in New Issue
Block a user