Add missing router names
Overview and Sensors routes were missing router names.
Removed empty string value name, since it doesn't help
identify a router by name.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: Idcff2c4104427d50abfc260c90d8087efe6525e3
diff --git a/src/router/index.js b/src/router/index.js
index 6e95834..c3d4439 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -10,7 +10,6 @@
const routes = [
{
path: '/',
- name: '',
meta: {
requiresAuth: true
},
@@ -18,6 +17,7 @@
children: [
{
path: '',
+ name: 'overview',
component: () => import('@/views/Overview'),
meta: {
title: 'appPageTitle.overview'
@@ -25,6 +25,7 @@
},
{
path: '/health/sensors',
+ name: 'sensors',
component: () => import('@/views/Health/Sensors'),
meta: {
title: 'appPageTitle.sensors'