Skip to content

Commit

Permalink
bug-fix: added missing check for custom fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatimah committed Feb 26, 2024
1 parent 295031e commit 9a3551b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/forms/widgets/custom_fields/CustomFields.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class CustomFields extends Component {
{fields}
</AccordionField>
))}
{discoverFieldsSections && (
{discoverFieldsSections && discoverFieldsSections.length > 0 && (
<DiscoverFieldsSection
templateLoaders={templateLoaders}
sections={discoverFieldsSections}
Expand Down

0 comments on commit 9a3551b

Please sign in to comment.