mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-23 02:06:42 +00:00
Handle case of null stock location (#9183)
This commit is contained in:
1 parent
1a4a2b21d7
commit
94c2157d3c
1 file changed
+1
-1
@@ -383,7 +383,7 @@ function StockItemDefaultMove({
|
||||
/>
|
||||
</Flex>
|
||||
<Flex direction='column' gap='sm' align='center'>
|
||||
<Text>{stockItem.location_detail.pathstring}</Text>
|
||||
<Text>{stockItem.location_detail?.pathstring ?? '-'}</Text>
|
||||
<InvenTreeIcon icon='arrow_down' />
|
||||
<Suspense fallback={<Skeleton width='150px' />}>
|
||||
<Text>{data?.pathstring}</Text>
|
||||
|
||||
Reference in new issue
Block a user