Show correct fields in UI mode (#8445)

This commit is contained in:
Bram Kragten 2021-02-24 14:27:00 +01:00 committed by GitHub
parent 742f1f85dc
commit 781c0701fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,10 @@ class HaPanelDevService extends LitElement {
)}
</th>
</tr>
${fields.map(
${(this._yamlMode
? fields
: this._filterSelectorFields(fields)
).map(
(field) => html` <tr>
<td><pre>${field.key}</pre></td>
<td>${field.description}</td>