Skip to content

Commit 5aa279b

Browse files
authored
Merge pull request #1910 from GilbertCherrie/reorder_menu_items
Fix menu item order
2 parents 1ec15d6 + 932250e commit 5aa279b

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

client/app/core/navigation.service.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,23 @@ export function NavigationFactory (RBAC, Polling, POLLING_INTERVAL, CollectionsA
3131
iconClass: 'fa fa-dashboard',
3232
permissions: true
3333
},
34+
{
35+
title: __('Service Catalog'),
36+
originalTitle: 'Service Catalog',
37+
state: 'catalogs',
38+
iconClass: 'fa fa-folder-open-o',
39+
badgeQuery: {
40+
'field': 'service_templates',
41+
'filter': 'display=true'
42+
},
43+
badges: [
44+
{
45+
count: service.navCount.catalogs,
46+
tooltip: __('The total number of available catalogs')
47+
}
48+
],
49+
permissions: false
50+
},
3451
{
3552
title: __('My Services'),
3653
state: 'services',
@@ -63,23 +80,6 @@ export function NavigationFactory (RBAC, Polling, POLLING_INTERVAL, CollectionsA
6380
}
6481
],
6582
permissions: false
66-
},
67-
{
68-
title: __('Service Catalog'),
69-
originalTitle: 'Service Catalog',
70-
state: 'catalogs',
71-
iconClass: 'fa fa-folder-open-o',
72-
badgeQuery: {
73-
'field': 'service_templates',
74-
'filter': 'display=true'
75-
},
76-
badges: [
77-
{
78-
count: service.navCount.catalogs,
79-
tooltip: __('The total number of available catalogs')
80-
}
81-
],
82-
permissions: false
8383
}
8484
]
8585
setPermissions()

0 commit comments

Comments
 (0)