mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Keybindings: Disable on login url (#18331)
This commit is contained in:
@@ -39,7 +39,7 @@ export class KeybindingSrv {
|
||||
}
|
||||
|
||||
setupGlobal() {
|
||||
if (this.contextSrv.user.isSignedIn) {
|
||||
if (!(this.$location.path() === '/login')) {
|
||||
this.bind(['?', 'h'], this.showHelpModal);
|
||||
this.bind('g h', this.goToHome);
|
||||
this.bind('g a', this.openAlerting);
|
||||
|
||||
Reference in New Issue
Block a user