mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-24 12:49:19 +00:00
Don't display keyboard shortcut hints in quickbar if keyboard shortcuts are disabled (#20527)
Fix forgotten hint shortcut tip
This commit is contained in:
@@ -640,7 +640,9 @@ class HUIRoot extends LitElement {
|
||||
private _showQuickBar(): void {
|
||||
showQuickBar(this, {
|
||||
commandMode: false,
|
||||
hint: this.hass.localize("ui.tips.key_e_hint"),
|
||||
hint: this.hass.enableShortcuts
|
||||
? this.hass.localize("ui.tips.key_e_hint")
|
||||
: undefined,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user