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

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}