Don't duplicate the label as the description in Z-Wave Config (#20454)

Don'tduplicate the label as the description
This commit is contained in:
Charles Garwood 2024-04-09 08:09:21 -04:00 committed by GitHub
parent b091d4f298
commit e8a140af44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ class ZWaveJSNodeConfig extends SubscribeMixin(LitElement) {
${item.metadata.label}
</span>
<span slot="description">
${item.metadata.description || item.metadata.label}
${item.metadata.description}
${item.metadata.description !== null && !item.metadata.writeable
? html`<br />`
: nothing}