Keybindings: Disable on login url (#18331)

This commit is contained in:
Tobias Skarhed authored and GitHub committed 2019-08-02 08:15:36 +02:00
1 parent c9f7e3059f
commit 85da4a169d
1 file changed
+1 -1
+1 -1
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);