1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

only the villas-node IC provides a graph. this is not supported by the villas-relay type

This commit is contained in:
Steffen Vogel 2021-03-08 13:42:45 +01:00
parent 4827a280f0
commit 9e4797bc76

View file

@ -131,7 +131,7 @@ class ICDialog extends React.Component {
collapsed={1}
/>
{this.props.ic.type === "villas-node" || this.props.ic.type === "villas-relay" ? (
{this.props.ic.type === "villas-node" ?
<>
<div className='section-buttons-group-right'>
<Button style={{margin: '5px'}} size='sm' onClick={() => this.downloadGraph(graphURL)}><Icon