diff --git a/x-pack/plugins/spaces/public/views/nav_control/components/spaces_menu.js b/x-pack/plugins/spaces/public/views/nav_control/components/spaces_menu.js index 54b07704dab3e..506559a51808a 100644 --- a/x-pack/plugins/spaces/public/views/nav_control/components/spaces_menu.js +++ b/x-pack/plugins/spaces/public/views/nav_control/components/spaces_menu.js @@ -10,7 +10,7 @@ import { EuiContextMenuPanel, EuiContextMenuItem, EuiFieldSearch, - EuiHorizontalRule, + EuiButton, } from '@elastic/eui'; import { SpaceAvatar } from '../../components/space_avatar'; import { SPACE_SEARCH_COUNT_THRESHOLD } from '../../../../common/constants'; @@ -32,6 +32,8 @@ export class SpacesMenu extends Component { items = [this.renderSearchField(), this.renderSpacesListPanel(items, searchTerm)]; } + items.push(this.renderManageButton()); + return ( { return ( - + - - + + ); + } + + renderManageButton = () => { + return ( + + Manage spaces + ); } diff --git a/x-pack/plugins/spaces/public/views/nav_control/components/spaces_menu.less b/x-pack/plugins/spaces/public/views/nav_control/components/spaces_menu.less index a505b9d123666..3090613a0a86e 100644 --- a/x-pack/plugins/spaces/public/views/nav_control/components/spaces_menu.less +++ b/x-pack/plugins/spaces/public/views/nav_control/components/spaces_menu.less @@ -1,4 +1,4 @@ .spacesMenu__spacesList { - max-height: 300px; + max-height: 320px; overflow-y: auto; } diff --git a/x-pack/plugins/spaces/public/views/nav_control/nav_control_popover.js b/x-pack/plugins/spaces/public/views/nav_control/nav_control_popover.js index 4a78af04fdb89..f15d1df0bb190 100644 --- a/x-pack/plugins/spaces/public/views/nav_control/nav_control_popover.js +++ b/x-pack/plugins/spaces/public/views/nav_control/nav_control_popover.js @@ -66,9 +66,10 @@ export class NavControlPopover extends Component {