mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Keyboard Shortcuts: Sign in to enable them (#18271)
This commit is contained in:
parent
69589c28d6
commit
12f5d16c76
@ -39,6 +39,7 @@ export class KeybindingSrv {
|
||||
}
|
||||
|
||||
setupGlobal() {
|
||||
if (this.contextSrv.user.isSignedIn) {
|
||||
this.bind(['?', 'h'], this.showHelpModal);
|
||||
this.bind('g h', this.goToHome);
|
||||
this.bind('g a', this.openAlerting);
|
||||
@ -47,6 +48,7 @@ export class KeybindingSrv {
|
||||
this.bind('f', this.openSearch);
|
||||
this.bindGlobal('esc', this.exit);
|
||||
}
|
||||
}
|
||||
|
||||
openSearch() {
|
||||
appEvents.emit('show-dash-search');
|
||||
|
Loading…
Reference in New Issue
Block a user