diff --git a/web/client/plugins/drawer/Menu.jsx b/web/client/plugins/drawer/Menu.jsx
index 41c94cec0f..d02347d644 100644
--- a/web/client/plugins/drawer/Menu.jsx
+++ b/web/client/plugins/drawer/Menu.jsx
@@ -6,8 +6,9 @@
* LICENSE file in the root directory of this source tree.
*/
var React = require('react');
-var {Glyphicon, Button} = require('react-bootstrap');
+var {Glyphicon, Button, OverlayTrigger, Tooltip} = require('react-bootstrap');
var Sidebar = require('react-sidebar').default;
+var Message = require('../../components/I18N/Message');
var Menu = React.createClass({
propTypes: {
@@ -58,11 +59,18 @@ var Menu = React.createClass({
);
},
renderButtons() {
- return this.props.children.map((child) => (
-
- ));
+ return this.props.children.map((child) => {
+ const button = ();
+ const tooltip = ;
+ return child.props.buttonConfig.tooltip ? (
+
+ {button}
+
+ ) : button;
+ });
},
renderContent() {
const header = this.props.single ? (