From 525e628598c22385f7e3e10f61492d0b95375eea Mon Sep 17 00:00:00 2001 From: Maksim Zakharov Date: Thu, 28 Jul 2022 16:37:16 +0300 Subject: SILABMC-N205 change navigation tabs --- src/env/components/AppNavigation/sila.js | 87 ++++++++++++++++---------------- 1 file changed, 44 insertions(+), 43 deletions(-) diff --git a/src/env/components/AppNavigation/sila.js b/src/env/components/AppNavigation/sila.js index 68ff77e1..ea251dcc 100644 --- a/src/env/components/AppNavigation/sila.js +++ b/src/env/components/AppNavigation/sila.js @@ -33,22 +33,6 @@ const AppNavigationMixin = { }, ], }, - { - id: 'logs', - label: this.$t('appNavigation.logs'), - children: [ - { - id: 'event-logs', - label: this.$t('appNavigation.eventLogs'), - route: '/logs/event-logs', - }, - { - id: 'post-code-logs', - label: this.$t('appNavigation.postCodeLogs'), - route: '/logs/post-code-logs', - }, - ], - }, { id: 'hardware-status', label: this.$t('appNavigation.hardwareStatus'), @@ -60,33 +44,6 @@ const AppNavigationMixin = { }, ], }, - { - id: 'fans', - label: this.$t('appNavigation.fans'), - children: [ - { - id: 'fans/static', - label: this.$t('appNavigation.staticInfo'), - route: '/fans/static', - }, - { - id: 'fans/dynamic', - label: this.$t('appNavigation.dynamicInformation'), - route: '/fans/dynamic', - }, - ], - }, - { - id: 'motherboard', - label: this.$t('appNavigation.motherboard'), - children: [ - { - id: 'motherboard/dynamic', - label: this.$t('appNavigation.dynamicInformation'), - route: '/motherboard/dynamic', - }, - ], - }, { id: 'operations', label: this.$t('appNavigation.operations'), @@ -133,6 +90,50 @@ const AppNavigationMixin = { }, ], }, + { + id: 'logs', + label: this.$t('appNavigation.logs'), + children: [ + { + id: 'event-logs', + label: this.$t('appNavigation.eventLogs'), + route: '/logs/event-logs', + }, + { + id: 'post-code-logs', + label: this.$t('appNavigation.postCodeLogs'), + route: '/logs/post-code-logs', + }, + ], + }, + + { + id: 'fans', + label: this.$t('appNavigation.fans'), + children: [ + { + id: 'fans/static', + label: this.$t('appNavigation.staticInfo'), + route: '/fans/static', + }, + { + id: 'fans/dynamic', + label: this.$t('appNavigation.dynamicInformation'), + route: '/fans/dynamic', + }, + ], + }, + { + id: 'motherboard', + label: this.$t('appNavigation.motherboard'), + children: [ + { + id: 'motherboard/dynamic', + label: this.$t('appNavigation.dynamicInformation'), + route: '/motherboard/dynamic', + }, + ], + }, { id: 'memory', label: this.$t('appNavigation.memory'), -- cgit v1.2.3