mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +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 ? (
 | 
			
		||||
        <Accordion variant="contained" defaultValue="-">
 | 
			
		||||
          {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>
 | 
			
		||||
                <Group justify="space-between" grow>
 | 
			
		||||
                  <Text>{entry.name}</Text>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user