Skip to content

Commit

Permalink
Merge pull request #12587 from phated/remove-argValue-simple
Browse files Browse the repository at this point in the history
ArgsTable: Remove the "simple" detection for enum types
  • Loading branch information
shilman committed Oct 3, 2020
2 parents e98574c + 600be47 commit 9e6fdc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/src/blocks/ArgsTable/ArgValue.tsx
Expand Up @@ -141,7 +141,7 @@ const ArgSummary: FC<ArgSummaryProps> = ({ value, initialExpandedArgs }) => {
const cannotBeSafelySplitted = /[(){}[\]<>]/.test(summaryAsString);

if (cannotBeSafelySplitted) {
return <ArgText text={summaryAsString} simple={summaryAsString.includes('|')} />;
return <ArgText text={summaryAsString} />;
}

const summaryItems = getSummaryItems(summaryAsString);
Expand Down

0 comments on commit 9e6fdc4

Please sign in to comment.