mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Platform tweaks (#6854)
* Tweak plugin details drawer - Adjust title - Increase width * Fix for StockDetail.tsx
This commit is contained in:
parent
8932a73a18
commit
ae83a10644
@ -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} />;
|
||||
|
Loading…
Reference in New Issue
Block a user