Skip to content

Commit 6d3c965

Browse files
committed
Mute array property title and description if not present
1 parent af2d6e1 commit 6d3c965

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/components/common/jschema/ArrayProperty.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
{#if schemaProperty }
3131
<div class='d-flex flex-column p-2'>
3232
<div class='property-metadata d-flex flex-column w-100'>
33-
<span class='fs-5 {schemaProperty.isRequired() ? "fw-bold" : ""}'>{ schemaProperty.title }</span>
34-
<span class='small'>{schemaProperty.description }</span>
33+
<span class='fs-5 {schemaProperty.isRequired() ? "fw-bold" : ""}'>{ schemaProperty.title || "" }</span>
34+
<span class='small'>{schemaProperty.description || "" }</span>
3535
</div>
3636
<div class='array-items my-2'>
3737

0 commit comments

Comments
 (0)