mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	Platform tweaks (#6854)
* Tweak plugin details drawer - Adjust title - Increase width * Fix for StockDetail.tsx
This commit is contained in:
		| @@ -139,7 +139,8 @@ export default function StockDetail() { | ||||
|       { | ||||
|         type: 'text', | ||||
|         name: 'available_stock', | ||||
|         label: t`Available` | ||||
|         label: t`Available`, | ||||
|         icon: 'quantity' | ||||
|       } | ||||
|       // TODO: allocated_to_sales_orders | ||||
|       // TODO: allocated_to_build_orders | ||||
| @@ -188,7 +189,9 @@ export default function StockDetail() { | ||||
|         name: 'sales_order', | ||||
|         label: t`Sales Order`, | ||||
|         model: ModelType.salesorder, | ||||
|         hidden: !stockitem.sales_order | ||||
|         hidden: !stockitem.sales_order, | ||||
|         icon: 'sales_orders', | ||||
|         model_field: 'reference' | ||||
|       } | ||||
|     ]; | ||||
|  | ||||
|   | ||||
| @@ -612,8 +612,8 @@ export default function PluginListTable() { | ||||
|       {uninstallPluginModal.modal} | ||||
|       {deletePluginModal.modal} | ||||
|       <DetailDrawer | ||||
|         title={t`Plugin detail`} | ||||
|         size={'xl'} | ||||
|         title={t`Plugin Detail`} | ||||
|         size={'50%'} | ||||
|         renderContent={(id) => { | ||||
|           if (!id) return false; | ||||
|           return <PluginDrawer id={id} refreshTable={table.refreshTable} />; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user