Skip to content

Commit

Permalink
[Store and Route] add nqm-target, nqm-ping-task store and route
Browse files Browse the repository at this point in the history
  • Loading branch information
CApopsicle committed Mar 21, 2017
1 parent fb4c4c8 commit e922c29
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,18 @@ const router = new window.VueRouter({
require(['./containers/nqm-target'], resolve)
}
},
{
path: '/nqm-ping-task',
component(resolve) {
require(['./containers/nqm-ping-task'], resolve)
}
},
{
path: '/nqm-ping-task/:id',
component(resolve) {
require(['./containers/nqm-ping-task-edit-agents'], resolve)
}
},
{ path: '*', redirect: '/graph' },
],
})
Expand Down
1 change: 1 addition & 0 deletions src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ module.exports = new window.Vuex.Store({
portal: require('./portal'),
nqmAgentList: require('./nqm-agent-list'),
nqmTarget: require('./nqm-target'),
nqmPingTask: require('./nqm-ping-task')
}
})

0 comments on commit e922c29

Please sign in to comment.