From f12e602ab84f2a4ae28a064ed2058f57b9cf9bc3 Mon Sep 17 00:00:00 2001 From: Anna Tsyganova Date: Fri, 8 Jul 2022 11:32:33 +0300 Subject: Fix a little global components Issue: SILABMC-191 --- src/env/components/AppNavigation/sila.js | 33 ++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) (limited to 'src/env/components/AppNavigation') diff --git a/src/env/components/AppNavigation/sila.js b/src/env/components/AppNavigation/sila.js index bbbbb1ee..72008186 100644 --- a/src/env/components/AppNavigation/sila.js +++ b/src/env/components/AppNavigation/sila.js @@ -24,8 +24,24 @@ const AppNavigationMixin = { { id: 'overview', label: this.$t('appNavigation.overview'), - route: '/', icon: 'iconOverview', + children: [ + { + id: 'inventory', + label: this.$t('appNavigation.inventory'), + route: '/hardware-inventory', + }, + { + id: 'network', + label: this.$t('appNavigation.network'), + route: '/network', + }, + { + id: 'date-time', + label: this.$t('appNavigation.dateTime'), + route: '/date-time', + }, + ], }, { id: 'logs', @@ -49,11 +65,6 @@ const AppNavigationMixin = { label: this.$t('appNavigation.hardwareStatus'), icon: 'iconHealth', children: [ - { - id: 'inventory', - label: this.$t('appNavigation.inventory'), - route: '/hardware-status/inventory', - }, { id: 'sensors', label: this.$t('appNavigation.sensors'), @@ -113,16 +124,6 @@ const AppNavigationMixin = { label: this.$t('appNavigation.settings'), icon: 'iconSettings', children: [ - { - id: 'date-time', - label: this.$t('appNavigation.dateTime'), - route: '/settings/date-time', - }, - { - id: 'network', - label: this.$t('appNavigation.network'), - route: '/settings/network', - }, { id: 'power-restore-policy', label: this.$t('appNavigation.powerRestorePolicy'), -- cgit v1.2.3