diff --git a/src/modules/ui/components/down_panel/index.js b/src/modules/ui/components/down_panel/index.js index 10303bd5385e..577c3cc2deda 100644 --- a/src/modules/ui/components/down_panel/index.js +++ b/src/modules/ui/components/down_panel/index.js @@ -15,6 +15,11 @@ class DownPanel extends Component { }; }; + let title = panel.title; + if (typeof title === 'function') { + title = title(); + } + return ( - {panel.title} + {title} ); }