Explorar el Código

add new dashboard shortcut

Mitsuhiro Tanda hace 8 años
padre
commit
e8157f01ec
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      public/app/core/services/keybindingSrv.ts

+ 4 - 0
public/app/core/services/keybindingSrv.ts

@@ -193,6 +193,10 @@ export class KeybindingSrv {
       }
     });
 
+    this.bind('d n', e => {
+      this.$location.url("/dashboard/new");
+    });
+
     this.bind('d r', () => {
       scope.broadcastRefresh();
     });