|
|
@ -78,7 +78,8 @@ const ResourceVolumes = ({ |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
</PanelHeader> |
|
|
|
</PanelHeader> |
|
|
|
{volume.connections.map((connection, index): JSX.Element => { |
|
|
|
{volume.connections.map( |
|
|
|
|
|
|
|
(connection, index): JSX.Element => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<> |
|
|
|
<> |
|
|
|
<Box |
|
|
|
<Box |
|
|
@ -89,14 +90,20 @@ const ResourceVolumes = ({ |
|
|
|
> |
|
|
|
> |
|
|
|
<Box className={classes.decoratorBox}> |
|
|
|
<Box className={classes.decoratorBox}> |
|
|
|
<Decorator |
|
|
|
<Decorator |
|
|
|
colour={selectDecorator(connection.connection_state)} |
|
|
|
colour={selectDecorator( |
|
|
|
|
|
|
|
connection.connection_state, |
|
|
|
|
|
|
|
)} |
|
|
|
/> |
|
|
|
/> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
<Box> |
|
|
|
<Box> |
|
|
|
<Box display="flex" width="100%"> |
|
|
|
<Box display="flex" width="100%"> |
|
|
|
<BodyText text={connection.targets[0].target_name} /> |
|
|
|
<BodyText |
|
|
|
|
|
|
|
text={connection.targets[0].target_name} |
|
|
|
|
|
|
|
/> |
|
|
|
<InsertLinkIcon style={{ color: DIVIDER }} /> |
|
|
|
<InsertLinkIcon style={{ color: DIVIDER }} /> |
|
|
|
<BodyText text={connection.targets[1].target_name} /> |
|
|
|
<BodyText |
|
|
|
|
|
|
|
text={connection.targets[1].target_name} |
|
|
|
|
|
|
|
/> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
<Box |
|
|
|
<Box |
|
|
|
display="flex" |
|
|
|
display="flex" |
|
|
@ -112,7 +119,8 @@ const ResourceVolumes = ({ |
|
|
|
) : null} |
|
|
|
) : null} |
|
|
|
</> |
|
|
|
</> |
|
|
|
); |
|
|
|
); |
|
|
|
})} |
|
|
|
}, |
|
|
|
|
|
|
|
)} |
|
|
|
</InnerPanel> |
|
|
|
</InnerPanel> |
|
|
|
); |
|
|
|
); |
|
|
|
})} |
|
|
|
})} |
|
|
|