Update src/renderer/components/layout/main-layout-header.tsx

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>
This commit is contained in:
AlexandSebastian Malton authored and Alex Culliere committed 2021-03-19 16:32:15 +02:00
1 parent f0eff41a41
commit fece56a9d9
1 file changed
+6 -2
@@ -20,9 +20,13 @@ export const MainLayoutHeader = observer(({ cluster, className }: Props) => {
<MenuItem onClick={actions.disconnect}>
<span>Disconnect</span>
</MenuItem>
{ !cluster.isManaged && <MenuItem onClick={actions.remove}>
{
!cluster.isManaged && (
<MenuItem onClick={actions.remove}>
<span>Remove</span>
</MenuItem> }
</MenuItem>
)
}
</MenuActions>;
return (