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:
@@ -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(
|
||||
|
||||
@@ -862,7 +862,7 @@ class HUIRoot extends LitElement {
|
||||
};
|
||||
|
||||
private _showQuickBar = () => {
|
||||
showQuickBar(this, { showHint: true });
|
||||
showQuickBar(this, { showHint: this.hass.enableShortcuts });
|
||||
};
|
||||
|
||||
private _goBack(): void {
|
||||
|
||||
Reference in New Issue
Block a user