Skip to content

Schema title is displayed only if there is a schema description #710

@JocelynDelalande

Description

@JocelynDelalande

See here for tree view ; but same applies for table view :

${schemaDescription
? html`<span class="m-markdown-small">
${unsafeHTML(marked(
`${schemaTitle ? `**${schemaTitle}:**` : ''} ${schemaDescription} ${constraint || defaultValue || allowedValues || pattern ? '⤵' : ''}`,
))}
</span>`
: ''
}

We'd expect to see schema title even if there is no description.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions