From 6382a145196d98c2ea65656c0ea8e074de3cdd60 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 12 Nov 2015 19:11:43 +0800 Subject: [PATCH] do not show title when there is no title in popover --- components/popover/index.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/popover/index.jsx b/components/popover/index.jsx index bcf410e772..8e4e772b7d 100644 --- a/components/popover/index.jsx +++ b/components/popover/index.jsx @@ -47,9 +47,7 @@ const Popover = React.createClass({ getOverlay() { return
-
- {this.props.title} -
+ {this.props.title &&
{this.props.title}
}
{this.props.overlay}
-- GitLab