From f66a5ecfdc95daa663e98b9fd5eb1111d1b191ab Mon Sep 17 00:00:00 2001 From: joan Date: Fri, 29 Jan 2021 09:46:57 +0100 Subject: [PATCH] 2748 - Added module keybinds --- modules/account/front/routes.json | 3 +++ modules/entry/front/routes.json | 3 +++ modules/supplier/front/routes.json | 3 +++ modules/zone/front/routes.json | 3 +++ 4 files changed, 12 insertions(+) diff --git a/modules/account/front/routes.json b/modules/account/front/routes.json index a13092db6..309f93f02 100644 --- a/modules/account/front/routes.json +++ b/modules/account/front/routes.json @@ -31,6 +31,9 @@ {"state": "account.alias.card.users", "icon": "groups"} ] }, + "keybindings": [ + {"key": "u", "state": "account.index"} + ], "routes": [ { "url": "/account", diff --git a/modules/entry/front/routes.json b/modules/entry/front/routes.json index 010e738b3..db12e95fd 100644 --- a/modules/entry/front/routes.json +++ b/modules/entry/front/routes.json @@ -16,6 +16,9 @@ {"state": "entry.card.log", "icon": "history"} ] }, + "keybindings": [ + {"key": "e", "state": "entry.index"} + ], "routes": [ { "url": "/entry", diff --git a/modules/supplier/front/routes.json b/modules/supplier/front/routes.json index 54d203c8c..73ff28246 100644 --- a/modules/supplier/front/routes.json +++ b/modules/supplier/front/routes.json @@ -17,6 +17,9 @@ {"state": "supplier.card.consumption", "icon": "show_chart"} ] }, + "keybindings": [ + {"key": "p", "state": "supplier.index"} + ], "routes": [ { "url": "/supplier", diff --git a/modules/zone/front/routes.json b/modules/zone/front/routes.json index 0134c3b78..a0692cc3d 100644 --- a/modules/zone/front/routes.json +++ b/modules/zone/front/routes.json @@ -18,6 +18,9 @@ {"state": "zone.card.events", "icon": "today"} ] }, + "keybindings": [ + {"key": "z", "state": "zone.index"} + ], "routes": [ { "url": "/zone",