diff options
author | Anna Tsyganova <ATSyganova@IBS.RU> | 2022-07-08 11:32:33 +0300 |
---|---|---|
committer | Anna Tsyganova <ATSyganova@IBS.RU> | 2022-07-08 11:32:33 +0300 |
commit | f12e602ab84f2a4ae28a064ed2058f57b9cf9bc3 (patch) | |
tree | 02fb24ee79bc558eebc374aa77c6aed7964a69d2 /src/env/components | |
parent | 40c493597703305ae732b414bda83a4f00b25745 (diff) | |
download | webui-vue-f12e602ab84f2a4ae28a064ed2058f57b9cf9bc3.tar.xz |
Fix a little global components
Issue: SILABMC-191
Diffstat (limited to 'src/env/components')
-rw-r--r-- | src/env/components/AppNavigation/sila.js | 33 |
1 files changed, 17 insertions, 16 deletions
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', @@ -50,11 +66,6 @@ const AppNavigationMixin = { icon: 'iconHealth', children: [ { - id: 'inventory', - label: this.$t('appNavigation.inventory'), - route: '/hardware-status/inventory', - }, - { id: 'sensors', label: this.$t('appNavigation.sensors'), route: '/hardware-status/sensors', @@ -114,16 +125,6 @@ const AppNavigationMixin = { 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'), route: '/settings/power-restore-policy', |