mirror of
https://github.com/junkfix/config-editor-card.git
synced 2025-09-07 18:11:22 +02:00
Update config-editor-card.js
This commit is contained in:
parent
3eaf27cd70
commit
bca16a62a9
|
@ -32,9 +32,8 @@ render() {
|
|||
<code>#${this.infoLine}</code>
|
||||
<div>
|
||||
<button @click="${this.List}">Get List</button>
|
||||
<select @change=${this.Load} >
|
||||
<option value=""></option>
|
||||
${this.fileList.map(value => html`<option ?selected=${value === this.openedFile } value=${value}>${value}</option>`)}
|
||||
<select @change=${this.Load}>
|
||||
${[''].concat(this.fileList).map(value => html`<option ?selected=${value === this.openedFile } value=${value}>${value}</option>`)}
|
||||
</select>
|
||||
<button @click="${this.Save}">Save</button>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue