mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +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:
parent
6516597c93
commit
25c702ad2b
@ -640,7 +640,9 @@ class HUIRoot extends LitElement {
|
|||||||
private _showQuickBar(): void {
|
private _showQuickBar(): void {
|
||||||
showQuickBar(this, {
|
showQuickBar(this, {
|
||||||
commandMode: false,
|
commandMode: false,
|
||||||
hint: this.hass.localize("ui.tips.key_e_hint"),
|
hint: this.hass.enableShortcuts
|
||||||
|
? this.hass.localize("ui.tips.key_e_hint")
|
||||||
|
: undefined,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user