From e8157f01ecc84d7fdc94c423e236cb0842a4f3d4 Mon Sep 17 00:00:00 2001 From: Mitsuhiro Tanda Date: Tue, 18 Jul 2017 13:07:39 +0900 Subject: [PATCH] add new dashboard shortcut --- public/app/core/services/keybindingSrv.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/app/core/services/keybindingSrv.ts b/public/app/core/services/keybindingSrv.ts index 46d108b43df..eee1c45bde1 100644 --- a/public/app/core/services/keybindingSrv.ts +++ b/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(); });