mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Hide "build orders" tab for inactive parts (#7992)
- Otherwise results in a 400 error
This commit is contained in:
		| @@ -622,7 +622,7 @@ export default function PartDetail() { | ||||
|         name: 'builds', | ||||
|         label: t`Build Orders`, | ||||
|         icon: <IconTools />, | ||||
|         hidden: !part.assembly, | ||||
|         hidden: !part.assembly || !part.active, | ||||
|         content: part?.pk ? <BuildOrderTable partId={part.pk} /> : <Skeleton /> | ||||
|       }, | ||||
|       { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user