mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 19:46:46 +00:00
Handle case of null stock location (#9183)
This commit is contained in:
parent
1a4a2b21d7
commit
94c2157d3c
@ -383,7 +383,7 @@ function StockItemDefaultMove({
|
|||||||
/>
|
/>
|
||||||
</Flex>
|
</Flex>
|
||||||
<Flex direction='column' gap='sm' align='center'>
|
<Flex direction='column' gap='sm' align='center'>
|
||||||
<Text>{stockItem.location_detail.pathstring}</Text>
|
<Text>{stockItem.location_detail?.pathstring ?? '-'}</Text>
|
||||||
<InvenTreeIcon icon='arrow_down' />
|
<InvenTreeIcon icon='arrow_down' />
|
||||||
<Suspense fallback={<Skeleton width='150px' />}>
|
<Suspense fallback={<Skeleton width='150px' />}>
|
||||||
<Text>{data?.pathstring}</Text>
|
<Text>{data?.pathstring}</Text>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user