diff --git a/src/boot/routes.js b/src/boot/routes.js index 39372ab9..bf009be6 100644 --- a/src/boot/routes.js +++ b/src/boot/routes.js @@ -80,6 +80,7 @@ export default (store) => { { name: 'lists', path: '/lists', component: Lists }, { name: 'lists-timeline', path: '/lists/:id', component: ListsTimeline }, { name: 'lists-edit', path: '/lists/:id/edit', component: ListsEdit }, + { name: 'lists-edit', path: '/lists/new', component: ListsEdit }, { name: 'edit-navigation', path: '/nav-edit', component: NavPanel, props: () => ({ forceExpand: true, forceEditMode: true }), beforeEnter: validateAuthenticatedRoute } ] diff --git a/src/components/lists/lists.js b/src/components/lists/lists.js index 9aed37f7..56d68430 100644 --- a/src/components/lists/lists.js +++ b/src/components/lists/lists.js @@ -1,5 +1,4 @@ import ListsCard from '../lists_card/lists_card.vue' -import ListsNew from '../lists_new/lists_new.vue' const Lists = { data () { @@ -8,8 +7,7 @@ const Lists = { } }, components: { - ListsCard, - ListsNew + ListsCard }, computed: { lists () { diff --git a/src/components/lists/lists.vue b/src/components/lists/lists.vue index fcc56447..cb98b017 100644 --- a/src/components/lists/lists.vue +++ b/src/components/lists/lists.vue @@ -1,21 +1,15 @@