mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix minor syntax issue
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>
This commit is contained in:
parent
58fc09b948
commit
710ea35774
@ -15,20 +15,20 @@ export const MainLayoutHeader = observer(({ cluster, className }: Props) => {
|
|||||||
const actions = ClusterActions(cluster);
|
const actions = ClusterActions(cluster);
|
||||||
const renderMenu = () => (
|
const renderMenu = () => (
|
||||||
<MenuActions autoCloseOnSelect className="ClusterActionsMenu">
|
<MenuActions autoCloseOnSelect className="ClusterActionsMenu">
|
||||||
<MenuItem onClick={actions.showSettings}>
|
<MenuItem onClick={actions.showSettings}>
|
||||||
<span>Settings</span>
|
<span>Settings</span>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<MenuItem onClick={actions.disconnect}>
|
<MenuItem onClick={actions.disconnect}>
|
||||||
<span>Disconnect</span>
|
<span>Disconnect</span>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
{
|
{
|
||||||
!cluster.isManaged && (
|
!cluster.isManaged && (
|
||||||
<MenuItem onClick={actions.remove}>
|
<MenuItem onClick={actions.remove}>
|
||||||
<span>Remove</span>
|
<span>Remove</span>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
</MenuActions>;
|
</MenuActions>);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<header className={cssNames("flex gaps align-center justify-space-between", className)}>
|
<header className={cssNames("flex gaps align-center justify-space-between", className)}>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user