Fix PR feedback

This commit is contained in:
cyril lopez 2018-10-10 15:54:26 +02:00
parent fff21e8afb
commit 2a8ef807d0

View File

@ -222,8 +222,8 @@ class PopUpRelations extends React.Component {
);
renderModalBodyRelations = () => {
const pluginValue = get(this.props.values, ['params', 'pluginValue']);
const header = !isEmpty(pluginValue) && pluginValue !== ' '
const pluginValue = get(this.props.values, ['params', 'pluginValue'], '');
const header = !isEmpty(pluginValue.trim())
? get(this.props.dropDownItems, [
findIndex(this.props.dropDownItems, {
name: get(this.props.values, ['params', 'target']),