瀏覽代碼

add new dashboard shortcut

Mitsuhiro Tanda 8 年之前
父節點
當前提交
e8157f01ec
共有 1 個文件被更改,包括 4 次插入0 次删除
  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();
     });