summaryrefslogtreecommitdiff
path: root/frontend/src/components/app/sidebars/topology/machine/UnitComponent.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/app/sidebars/topology/machine/UnitComponent.js')
-rw-r--r--frontend/src/components/app/sidebars/topology/machine/UnitComponent.js12
1 files changed, 4 insertions, 8 deletions
diff --git a/frontend/src/components/app/sidebars/topology/machine/UnitComponent.js b/frontend/src/components/app/sidebars/topology/machine/UnitComponent.js
index bde6d444..3953347a 100644
--- a/frontend/src/components/app/sidebars/topology/machine/UnitComponent.js
+++ b/frontend/src/components/app/sidebars/topology/machine/UnitComponent.js
@@ -53,14 +53,10 @@ class UnitComponent extends React.Component {
data-content={unitInfo}
data-html="true"
/>
- {this.props.inSimulation ? (
- undefined
- ) : (
- <span
- className="btn btn-outline-danger fa fa-trash"
- onClick={this.props.onDelete}
- />
- )}
+ <span
+ className="btn btn-outline-danger fa fa-trash"
+ onClick={this.props.onDelete}
+ />
</span>
</li>
)