From 30d699df2d9e0105011bacad9829b6c8fd42896b Mon Sep 17 00:00:00 2001 From: dpschen Date: Mon, 23 Aug 2021 17:42:42 +0000 Subject: [PATCH] fix: non unique ids (#672) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/672 Co-authored-by: dpschen Co-committed-by: dpschen --- cypress/integration/list/list.spec.js | 2 +- src/views/list/settings/edit.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cypress/integration/list/list.spec.js b/cypress/integration/list/list.spec.js index 107b5528..8242984e 100644 --- a/cypress/integration/list/list.spec.js +++ b/cypress/integration/list/list.spec.js @@ -72,7 +72,7 @@ describe('Lists', () => { cy.get('.namespace-container .menu.namespaces-lists .more-container .menu-list li:first-child .dropdown .dropdown-content') .contains('Edit') .click() - cy.get('#listtext') + cy.get('#title') .type(`{selectall}${newListName}`) cy.get('footer.modal-card-foot .button') .contains('Save') diff --git a/src/views/list/settings/edit.vue b/src/views/list/settings/edit.vue index 46b03d10..e02dcd84 100644 --- a/src/views/list/settings/edit.vue +++ b/src/views/list/settings/edit.vue @@ -8,14 +8,14 @@ @tertary="$router.push({ name: 'list.list.settings.delete', params: { id: $route.params.listId } })" >
- +
@@ -35,7 +35,7 @@ :disabled="listService.loading" @keyup.enter="save" class="input" - id="listtext" + id="identifier" :placeholder="$t('list.edit.identifierPlaceholder')" type="text" v-focus