Keybindings: Disable on login url (#18331)

This commit is contained in:
Tobias Skarhed
2019-08-02 08:15:36 +02:00
committed by GitHub
parent c9f7e3059f
commit 85da4a169d

View File

@@ -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);