mirror of
https://github.com/strapi/strapi.git
synced 2025-09-21 22:40:24 +00:00
Fix PR feedback
This commit is contained in:
parent
fff21e8afb
commit
2a8ef807d0
@ -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']),
|
||||
|
Loading…
x
Reference in New Issue
Block a user