diff --git a/cypress/integration/list/list.spec.js b/cypress/integration/list/list.spec.js index 43939197..45773302 100644 --- a/cypress/integration/list/list.spec.js +++ b/cypress/integration/list/list.spec.js @@ -29,7 +29,7 @@ describe('Lists', () => { .contains('New list') .click() cy.url() - .should('contain', '/namespaces/1/list') + .should('contain', '/lists/new/1') cy.get('.card-header-title') .contains('Create a new list') cy.get('input.input') diff --git a/src/components/namespace/namespace-settings-dropdown.vue b/src/components/namespace/namespace-settings-dropdown.vue index c2752578..0ce99c8c 100644 --- a/src/components/namespace/namespace-settings-dropdown.vue +++ b/src/components/namespace/namespace-settings-dropdown.vue @@ -22,7 +22,7 @@ {{ $t('menu.share') }} {{ $t('menu.newList') }} diff --git a/src/router/index.ts b/src/router/index.ts index fd31d79b..0557c9a8 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -251,7 +251,7 @@ const router = createRouter({ component: ShowTasksInRangeComponent, }, { - path: '/lists/:id/new', + path: '/lists/new/:namespaceId/', name: 'list.create', component: NewListComponent, meta: { diff --git a/src/views/Home.vue b/src/views/Home.vue index f3d2b3ec..14c160d4 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -23,7 +23,7 @@