Platform tweaks (#6854)

* Tweak plugin details drawer

- Adjust title
- Increase width

* Fix for StockDetail.tsx
This commit is contained in:
Oliver 2024-03-26 13:54:40 +11:00 committed by GitHub
parent 8932a73a18
commit ae83a10644
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View File

@ -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'
}
];

View File

@ -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} />;