diff --git a/cypress/integration/list/list.spec.js b/cypress/integration/list/list.spec.js index 43939197b..45773302d 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 c27525789..0ce99c8c9 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 fd31d79ba..0557c9a84 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 f3d2b3ecb..14c160d45 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -23,7 +23,7 @@