mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
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:
parent
f0eff41a41
commit
fece56a9d9
@ -20,9 +20,13 @@ export const MainLayoutHeader = observer(({ cluster, className }: Props) => {
|
|||||||
<MenuItem onClick={actions.disconnect}>
|
<MenuItem onClick={actions.disconnect}>
|
||||||
<span>Disconnect</span>
|
<span>Disconnect</span>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
{ !cluster.isManaged && <MenuItem onClick={actions.remove}>
|
{
|
||||||
|
!cluster.isManaged && (
|
||||||
|
<MenuItem onClick={actions.remove}>
|
||||||
<span>Remove</span>
|
<span>Remove</span>
|
||||||
</MenuItem> }
|
</MenuItem>
|
||||||
|
)
|
||||||
|
}
|
||||||
</MenuActions>;
|
</MenuActions>;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user