1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-02-15 07:25:54 +00:00

Show hint only if keyboard shortcuts is enabled (#29332)

Enabled by default, must be explicity disabled
This commit is contained in:
Aidan Timson
2026-02-02 08:59:14 +00:00
committed by GitHub
parent a8327ef59a
commit 29317eb842
2 changed files with 2 additions and 2 deletions

View File

@@ -373,7 +373,7 @@ class HaConfigDashboard extends SubscribeMixin(LitElement) {
);
private _showQuickBar(): void {
showQuickBar(this, { showHint: true });
showQuickBar(this, { showHint: this.hass.enableShortcuts });
}
private async _handleMenuAction(

View File

@@ -862,7 +862,7 @@ class HUIRoot extends LitElement {
};
private _showQuickBar = () => {
showQuickBar(this, { showHint: true });
showQuickBar(this, { showHint: this.hass.enableShortcuts });
};
private _goBack(): void {