From 8662b5a9a746f0c24a142c3e255edb695da6a7e6 Mon Sep 17 00:00:00 2001 From: Nikola Lovic Date: Tue, 15 Jan 2019 12:28:05 +0100 Subject: [PATCH 1/2] fix(ui): Dropdown menu fix when click on icon in header Resolve MON-3164 --- www/front_src/src/components/hostMenu/index.js | 13 ++++++------- www/front_src/src/components/pollerMenu/index.js | 10 +++++----- .../src/components/serviceStatusMenu/index.js | 13 ++++++------- 3 files changed, 17 insertions(+), 19 deletions(-) diff --git a/www/front_src/src/components/hostMenu/index.js b/www/front_src/src/components/hostMenu/index.js index d9385d3544a..18c29d42d5b 100755 --- a/www/front_src/src/components/hostMenu/index.js +++ b/www/front_src/src/components/hostMenu/index.js @@ -88,13 +88,6 @@ class HostMenu extends Component { return (
- - - {data.pending > 0 ? : null} - - - - 0 ? "red" : "red-bordered")}> {numeral(data.down.unhandled).format("0a")} @@ -111,6 +104,12 @@ class HostMenu extends Component {
this.host = host}> + + + {data.pending > 0 ? : null} + + + {this.props.children}