fix: provide default value for undefined string

main
Josue 4 years ago committed by Tsu-ba-me
parent a3244fc58b
commit 3d837a3ea7
  1. 2
      striker-ui/components/SharedStorageNode.tsx

@ -50,7 +50,7 @@ const SharedStorageNode = ({
<>
<Box display="flex" width="100%" className={classes.fs}>
<Box flexGrow={1}>
<BodyText text={node.nodeInfo?.node_name} />
<BodyText text={node.nodeInfo?.node_name || 'Not Available'} />
</Box>
<Box className={classes.decoratorBox}>
<div

Loading…
Cancel
Save