From e049e9d7aeda7fce004b5e7220e051bc9d778b4f Mon Sep 17 00:00:00 2001
From: Ian Morland <16573496+imorland@users.noreply.github.com>
Date: Thu, 9 Jun 2022 10:07:50 +0100
Subject: [PATCH] chore: add priorities to AdminNav (#3453)
---
.../core/js/src/admin/components/AdminNav.js | 21 ++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/framework/core/js/src/admin/components/AdminNav.js b/framework/core/js/src/admin/components/AdminNav.js
index 506334a0a..7e5d8f4cb 100644
--- a/framework/core/js/src/admin/components/AdminNav.js
+++ b/framework/core/js/src/admin/components/AdminNav.js
@@ -66,42 +66,48 @@ export default class AdminNav extends Component {
'dashboard',
{app.translator.trans('core.admin.nav.dashboard_button')}
-
+ ,
+ 100
);
items.add(
'basics',
{app.translator.trans('core.admin.nav.basics_button')}
-
+ ,
+ 90
);
items.add(
'mail',
{app.translator.trans('core.admin.nav.email_button')}
-
+ ,
+ 80
);
items.add(
'permissions',
{app.translator.trans('core.admin.nav.permissions_button')}
-
+ ,
+ 70
);
items.add(
'appearance',
{app.translator.trans('core.admin.nav.appearance_button')}
-
+ ,
+ 60
);
items.add(
'userList',
{app.translator.trans('core.admin.nav.userlist_button')}
-
+ ,
+ 50
);
items.add(
@@ -113,7 +119,8 @@ export default class AdminNav extends Component {
type="search"
placeholder={app.translator.trans('core.admin.nav.search_placeholder')}
/>
-
+ ,
+ 0
);
return items;