Browse Source

add new dashboard shortcut

Mitsuhiro Tanda 8 năm trước cách đây
mục cha
commit
e8157f01ec
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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();
     });