mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-04 15:15:42 +00:00 
			
		
		
		
	Fix for optional callback function
This commit is contained in:
		@@ -389,7 +389,9 @@ export function ApiForm({
 | 
				
			|||||||
      size="xl"
 | 
					      size="xl"
 | 
				
			||||||
      radius="sm"
 | 
					      radius="sm"
 | 
				
			||||||
      opened={opened}
 | 
					      opened={opened}
 | 
				
			||||||
      onClose={onClose}
 | 
					      onClose={() => {
 | 
				
			||||||
 | 
					        onClose ? onClose() : null;
 | 
				
			||||||
 | 
					      }}
 | 
				
			||||||
      title={title}
 | 
					      title={title}
 | 
				
			||||||
    >
 | 
					    >
 | 
				
			||||||
      <Stack>
 | 
					      <Stack>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user