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..07bca4095 100644 --- a/src/components/common/VnLog.vue +++ b/src/components/common/VnLog.vue @@ -14,6 +14,7 @@ import VnJsonValue from '../common/VnJsonValue.vue'; import FetchData from '../FetchData.vue'; import VnSelect from './VnSelect.vue'; import VnUserLink from '../ui/VnUserLink.vue'; +import item from 'src/router/modules/item'; const stateStore = useStateStore(); const validationsStore = useValidator(); @@ -407,9 +408,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, }; })) "