mirror of
https://github.com/junkfix/config-editor-card.git
synced 2025-09-21 00:32:03 +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>
|
<code>#${this.infoLine}</code>
|
||||||
<div>
|
<div>
|
||||||
<button @click="${this.List}">Get List</button>
|
<button @click="${this.List}">Get List</button>
|
||||||
<select @change=${this.Load} >
|
<select @change=${this.Load}>
|
||||||
<option value=""></option>
|
${[''].concat(this.fileList).map(value => html`<option ?selected=${value === this.openedFile } value=${value}>${value}</option>`)}
|
||||||
${this.fileList.map(value => html`<option ?selected=${value === this.openedFile } value=${value}>${value}</option>`)}
|
|
||||||
</select>
|
</select>
|
||||||
<button @click="${this.Save}">Save</button>
|
<button @click="${this.Save}">Save</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue