diff --git a/src/frontend/src/components/render/Stock.tsx b/src/frontend/src/components/render/Stock.tsx index 358413bfde59..4fa27673cb31 100644 --- a/src/frontend/src/components/render/Stock.tsx +++ b/src/frontend/src/components/render/Stock.tsx @@ -13,6 +13,7 @@ import { type InstanceRenderInterface, RenderInlineModel } from './Instance'; +import { StatusRenderer } from './StatusRenderer'; /** * Inline rendering of a single StockLocation instance @@ -102,6 +103,8 @@ export function RenderStockItem( const showLocation: boolean = props.extra?.show_location !== false; const location: any = props.instance?.location_detail; + const statusKey = instance?.status_custom_key ?? instance?.status; + // Form the "secondary" text to display const secondary: ReactNode = ( @@ -111,6 +114,13 @@ export function RenderStockItem( {instance.batch && ( )} + {statusKey != null && ( + + )} );