aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/dropdowns
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/dropdowns')
-rw-r--r--ui/app/components/dropdowns/components/menu.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/dropdowns/components/menu.js b/ui/app/components/dropdowns/components/menu.js
index 323103f0b..f6d8a139e 100644
--- a/ui/app/components/dropdowns/components/menu.js
+++ b/ui/app/components/dropdowns/components/menu.js
@@ -28,8 +28,8 @@ Item.prototype.render = function () {
const textComponent = text ? h('div.menu__item__text', text) : null
return children
- ? h('div', { className: itemClassName }, children)
- : h('div.menu__item', { className: itemClassName }, [ iconComponent, textComponent ]
+ ? h('div', { className: itemClassName, onClick }, children)
+ : h('div.menu__item', { className: itemClassName, onClick }, [ iconComponent, textComponent ]
.filter(d => Boolean(d))
)
}