Skip to content

Commit fffe1f3

Browse files
committed
required field indicator in schema-tree is now shown at the begining of the field name
1 parent 43d87ce commit fffe1f3

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
@@ -153,7 +153,7 @@ export default class SchemaTree extends LitElement {
153153
: key.startsWith('OPTION')
154154
? html`<span class="any-of-one-of" >${key.replace('OPTION_', ' ')}</span>`
155155
: key.endsWith('*')
156-
? html`${key.substring(0, key.length - 1)}<span style='color:var(--delete-color)'>*</span>:`
156+
? html`<span style='color:var(--delete-color)'>*</span>${key.substring(0, key.length - 1)}:`
157157
: html`${key}:`
158158
: ''
159159
}

0 commit comments

Comments
 (0)