From c8a4854df9b3e890e8b33f817893586fef2ecadf Mon Sep 17 00:00:00 2001 From: alexm Date: Tue, 27 Feb 2024 08:22:38 +0100 Subject: [PATCH] refs #5509 fix(vnDms): fix issues --- src/components/FormModel.vue | 2 +- src/components/common/VnDmsList.vue | 8 +++++--- src/i18n/en/index.js | 2 +- src/i18n/es/index.js | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index 504a7acd6..912ce8ea7 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -154,7 +154,7 @@ async function save() { hasChanges.value = false; } catch (err) { console.error(err); - notify('errors.create', 'negative'); + notify('errors.writeRequest', 'negative'); } isLoading.value = false; } diff --git a/src/components/common/VnDmsList.vue b/src/components/common/VnDmsList.vue index b7e683da9..5057c0790 100644 --- a/src/components/common/VnDmsList.vue +++ b/src/components/common/VnDmsList.vue @@ -233,9 +233,11 @@ function parseDms(data) { :is="props.col.component" v-bind="props.col.props && props.col.props(props)" > - {{ - props.value - }} + {{ props.value }} diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index ee518418b..46237c2b9 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -88,7 +88,7 @@ export default { statusBadGateway: 'It seems that the server has fall down', statusGatewayTimeout: 'Could not contact the server', userConfig: 'Error fetching user config', - create: 'Error during creation', + writeRequest: 'The requested operation could not be completed', }, login: { title: 'Login', diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 0f65181bd..fe82407ad 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -88,7 +88,7 @@ export default { statusBadGateway: 'Parece ser que el servidor ha caído', statusGatewayTimeout: 'No se ha podido contactar con el servidor', userConfig: 'Error al obtener configuración de usuario', - create: 'Error al crear', + writeRequest: 'No se pudo completar la operación solicitada', }, login: { title: 'Inicio de sesión',