Skip to content

Commit

Permalink
Fix issue after minification where sub-types wouldnt render properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Dom Harrington committed Dec 18, 2017
1 parent 634f07b commit 1f2fe1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/api-explorer-ui/dist/index.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function CustomFieldTemplate(props) {
return children;
}

const isObject = children.type.name === CustomObjectField.name;
const isObject = children.type === CustomObjectField;
const combinedLabel = [labelPrefix, label].filter(Boolean).join('.');

return (
Expand Down

0 comments on commit 1f2fe1a

Please sign in to comment.