From 7b5e6e8a2375579c6d0d794047eee98519deee06 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Mon, 10 Jan 2022 16:08:45 +0100 Subject: [PATCH] added shorcuts for order, monitor and worker modules --- modules/monitor/front/routes.json | 7 ++++++- modules/order/front/routes.json | 6 ++++++ modules/worker/front/routes.json | 6 ++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/modules/monitor/front/routes.json b/modules/monitor/front/routes.json index 8fc995e4c..acad3ecbc 100644 --- a/modules/monitor/front/routes.json +++ b/modules/monitor/front/routes.json @@ -10,7 +10,12 @@ ], "card": [] }, - "keybindings": [], + "keybindings": [ + { + "key": "m", + "state": "monitor.index" + } + ], "routes": [ { "url": "/monitor", diff --git a/modules/order/front/routes.json b/modules/order/front/routes.json index c22ff24d1..2eeb60553 100644 --- a/modules/order/front/routes.json +++ b/modules/order/front/routes.json @@ -15,6 +15,12 @@ {"state": "order.card.line", "icon": "icon-lines"} ] }, + "keybindings": [ + { + "key": "o", + "state": "order.index" + } + ], "routes": [ { "url": "/order", diff --git a/modules/worker/front/routes.json b/modules/worker/front/routes.json index 47334d841..ca33eaa76 100644 --- a/modules/worker/front/routes.json +++ b/modules/worker/front/routes.json @@ -24,6 +24,12 @@ {"state": "worker.card.workerLog", "icon": "history"} ] }, + "keybindings": [ + { + "key": "w", + "state": "worker.index" + } + ], "routes": [ { "url": "/worker", -- 2.40.1