Fix regression where command item text lost capitalization rules (#8719)

This commit is contained in:
Donnie 2021-03-25 10:20:20 -07:00 committed by GitHub
parent 343b67fa7f
commit 10baa34c18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,7 +227,6 @@ export class QuickBar extends LitElement {
hasMeta hasMeta
index=${ifDefined(index)} index=${ifDefined(index)}
graphic="icon" graphic="icon"
class=${this._commandMode ? "command-item" : ""}
> >
${item.iconPath ${item.iconPath
? html`<ha-svg-icon ? html`<ha-svg-icon
@ -258,6 +257,7 @@ export class QuickBar extends LitElement {
.twoline=${Boolean(item.altText)} .twoline=${Boolean(item.altText)}
.item=${item} .item=${item}
index=${ifDefined(index)} index=${ifDefined(index)}
class="command-item"
> >
<span> <span>
<ha-chip <ha-chip