diff --git a/src/components/UserPanel.vue b/src/components/UserPanel.vue index 15d88d615..2f191691a 100644 --- a/src/components/UserPanel.vue +++ b/src/components/UserPanel.vue @@ -159,6 +159,14 @@ const isEmployee = computed(() => useRole().isEmployee()); size="xxl" color="transparent" /> +
{{ user.nickname }}
@@ -262,3 +270,7 @@ const isEmployee = computed(() => useRole().isEmployee()); } } + +es: + My account: Mi cuenta + diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue index 72d3516c5..2163d54d4 100644 --- a/src/components/common/VnLog.vue +++ b/src/components/common/VnLog.vue @@ -407,9 +407,12 @@ watch( @on-fetch=" (data) => (actions = data.map((item) => { + const changedModel = item.changedModel; return { - locale: useCapitalize(validations[item.changedModel].locale.name), - value: item.changedModel, + locale: useCapitalize( + validations[changedModel]?.locale?.name ?? changedModel + ), + value: changedModel, }; })) " diff --git a/test/cypress/integration/outLogin/logout.spec.js b/test/cypress/integration/outLogin/logout.spec.js index af705223b..423189908 100644 --- a/test/cypress/integration/outLogin/logout.spec.js +++ b/test/cypress/integration/outLogin/logout.spec.js @@ -8,7 +8,7 @@ describe('Logout', () => { describe('by user', () => { it('should logout', () => { cy.get('#user').click(); - cy.get('.block').click(); + cy.get('#logout').click(); }); }); describe('not user', () => {