From a92bc8c713af43d781676e2dc66703cca098e08e Mon Sep 17 00:00:00 2001 From: alexandre Date: Thu, 23 Mar 2023 10:34:22 +0100 Subject: [PATCH] refs #5056 refresh list when delete --- src/i18n/en/index.js | 5 +++-- src/i18n/es/index.js | 4 +++- src/pages/Wagon/Type/WagonTypeList.vue | 18 ++++++++++++++---- src/pages/Wagon/WagonList.vue | 18 +++++++++++++----- 4 files changed, 33 insertions(+), 12 deletions(-) diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 5b250ef97..d11d0fb98 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -401,13 +401,14 @@ export default { submit: 'Submit', reset: 'Reset', trayColor: 'Tray color', - + removeItem: 'Wagon type removed successfully', }, list: { plate: 'Plate', volume: 'Volume', type: 'Type', - remove: 'Remove' + remove: 'Remove', + removeItem: 'Wagon removed successfully', }, create: { plate: 'Plate', diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 0c784231a..3a46d6860 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -401,12 +401,14 @@ export default { submit: 'Guardar', reset: 'Deshacer cambios', trayColor: 'Color de la bandeja', + removeItem: 'Tipo de vagón borrado correctamente', }, list: { plate: 'Matrícula', volume: 'Volumen', type: 'Tipo', - remove: 'Borrar' + remove: 'Borrar', + removeItem: 'Vagón borrado correctamente', }, create: { plate: 'Matrícula', diff --git a/src/pages/Wagon/Type/WagonTypeList.vue b/src/pages/Wagon/Type/WagonTypeList.vue index d010c90c9..86dd2e7f7 100644 --- a/src/pages/Wagon/Type/WagonTypeList.vue +++ b/src/pages/Wagon/Type/WagonTypeList.vue @@ -1,9 +1,15 @@