Skip to content

Commit

Permalink
Update src/components/JsonSchemaForm/index.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Iveta <quietbits@users.noreply.github.com>
  • Loading branch information
jeesunikim and quietbits authored Feb 13, 2025
1 parent 36a4fac commit c8ab595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/JsonSchemaForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ const renderTitle = (
labels: string[],
fields: [string, any][],
) => {
if (labels) {
if (labels.length) {
const mappedLabels = labels.map((label) => {
const field = fields.find(([key]) => key === label);

Expand Down

0 comments on commit c8ab595

Please sign in to comment.