File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 81
81
Events
82
82
</VueGroupButton >
83
83
<GroupDropdown
84
+ v-tooltip =" $t('App.routing.tooltip')"
84
85
:is-open =" isRouterGroupOpen"
85
86
:options =" routingTabs"
86
87
:value =" routeModel"
@@ -204,9 +205,15 @@ export default {
204
205
this .$router .push ({ name: ' events' })
205
206
return false
206
207
} else if (code === ' Digit4' ) {
208
+ if (this .$route .name !== ' router' ) {
209
+ this .$router .push ({ name: ' router' })
210
+ } else {
211
+ this .$router .push ({ name: ' routes' })
212
+ }
213
+ } else if (code === ' Digit5' ) {
207
214
this .$router .push ({ name: ' perf' })
208
215
return false
209
- } else if (code === ' Digit5 ' ) {
216
+ } else if (code === ' Digit6 ' ) {
210
217
this .$router .push ({ name: ' settings' })
211
218
return false
212
219
} else if (key === ' p' || code === ' KeyP' ) {
Original file line number Diff line number Diff line change @@ -9,11 +9,14 @@ export default {
9
9
refresh : {
10
10
tooltip : '[[{{keys.ctrl}}]] + [[{{keys.alt}}]] + [[R]] Force Refresh'
11
11
} ,
12
+ routing : {
13
+ tooltip : '[[{{keys.ctrl}}]] + [[4]] Switch to Routing'
14
+ } ,
12
15
perf : {
13
- tooltip : '[[{{keys.ctrl}}]] + [[4 ]] Switch to Performance'
16
+ tooltip : '[[{{keys.ctrl}}]] + [[5 ]] Switch to Performance'
14
17
} ,
15
18
settings : {
16
- tooltip : '[[{{keys.ctrl}}]] + [[5 ]] Switch to Settings'
19
+ tooltip : '[[{{keys.ctrl}}]] + [[6 ]] Switch to Settings'
17
20
} ,
18
21
vuex : {
19
22
tooltip : '[[{{keys.ctrl}}]] + [[2]] Switch to Vuex'
You can’t perform that action at this time.
0 commit comments