Skip to content

Commit 0cde5d0

Browse files
committed
Fixes #219 - Change expand/collapse text to singleline/multiline which controls how model field descriptions are shown
1 parent 8ccd69b commit 0cde5d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/schema-tree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default class SchemaTree extends LitElement {
8686
<div class='toolbar-item bold-text upper' style='cursor:auto; color:var(--fg3)'> ${this.data ? this.data['::type'] : ''} </div>
8787
<div style="flex:1"></div>
8888
<div class='toolbar-item' @click='${() => { this.schemaDescriptionExpanded = (this.schemaDescriptionExpanded === 'true' ? 'false' : 'true'); }}'>
89-
${this.schemaDescriptionExpanded === 'true' ? 'Collapse Details' : 'Expand Details'}
89+
${this.schemaDescriptionExpanded === 'true' ? 'Single line description' : 'Multiline description'}
9090
</div>
9191
</div>
9292
<span class='m-markdown'> ${this.data ? unsafeHTML(marked(this.data['::description'] || '')) : ''}</span>

0 commit comments

Comments
 (0)