From fa60467e7634ea5b86cd481b3f9885d7583a2037 Mon Sep 17 00:00:00 2001 From: alexm Date: Thu, 1 Aug 2024 10:51:13 +0200 Subject: [PATCH] fix(claim): small details --- src/components/FormModel.vue | 9 ++------- src/components/ui/VnNotes.vue | 29 ++++++++++++++++++++++----- src/components/ui/VnPaginate.vue | 4 ++-- src/css/app.scss | 17 +++++++++------- src/pages/Claim/Card/ClaimAction.vue | 2 +- src/pages/Claim/Card/ClaimNotes.vue | 28 ++++++++++++++------------ src/pages/Claim/Card/ClaimPhoto.vue | 12 ++++++++--- src/pages/Claim/Card/ClaimSummary.vue | 10 ++++----- src/pages/Claim/ClaimFilter.vue | 1 + src/pages/Claim/ClaimList.vue | 2 +- 10 files changed, 70 insertions(+), 44 deletions(-) diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index 758ddd433..115145f37 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -159,8 +159,8 @@ onBeforeRouteLeave((to, from, next) => { quasar.dialog({ component: VnConfirm, componentProps: { - title: t('Unsaved changes will be lost'), - message: t('Are you sure exit without saving?'), + title: t('globals.unsavedPopup.title'), + message: t('globals.unsavedPopup.subtitle'), promise: () => next(), }, }); @@ -356,8 +356,3 @@ defineExpose({ padding: 32px; } - -es: - Unsaved changes will be lost: Los cambios que no haya guardado se perderán - Are you sure exit without saving?: ¿Seguro que quiere salir sin guardar? - diff --git a/src/components/ui/VnNotes.vue b/src/components/ui/VnNotes.vue index f4cdde310..cd2c1474c 100644 --- a/src/components/ui/VnNotes.vue +++ b/src/components/ui/VnNotes.vue @@ -1,13 +1,18 @@