summaryrefslogtreecommitdiff
path: root/src/router
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2020-04-28 19:36:45 +0300
committerDerick Montague <derick.montague@ibm.com>2020-05-01 19:09:40 +0300
commitf2b3e6c1ef4909f523477c1f839be05eea3e4604 (patch)
treec9f5b7d1042fd2bf359a3fc34e9f78458cfdd90f /src/router
parent80735e10c67e1e558c23cae217e86495864717d7 (diff)
downloadwebui-vue-f2b3e6c1ef4909f523477c1f839be05eea3e4604.tar.xz
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
Diffstat (limited to 'src/router')
-rw-r--r--src/router/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/router/index.js b/src/router/index.js
index 6e958342..c3d44390 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -10,7 +10,6 @@ Vue.use(VueRouter);
const routes = [
{
path: '/',
- name: '',
meta: {
requiresAuth: true
},
@@ -18,6 +17,7 @@ const routes = [
children: [
{
path: '',
+ name: 'overview',
component: () => import('@/views/Overview'),
meta: {
title: 'appPageTitle.overview'
@@ -25,6 +25,7 @@ const routes = [
},
{
path: '/health/sensors',
+ name: 'sensors',
component: () => import('@/views/Health/Sensors'),
meta: {
title: 'appPageTitle.sensors'