From 1205f277fc6bebf674e66768233bc01a02d92ebc Mon Sep 17 00:00:00 2001 From: alexm Date: Thu, 1 Jun 2023 09:09:54 +0200 Subject: [PATCH] refs #5752 --- src/components/FetchData.vue | 2 +- src/components/FormModel.vue | 2 +- src/components/common/vnDiscount.vue | 2 +- src/pages/Claim/Card/ClaimLines.vue | 4 ++-- src/router/modules/worker.js | 20 ++++++++++---------- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/components/FetchData.vue b/src/components/FetchData.vue index 4324b6984..251d7502a 100644 --- a/src/components/FetchData.vue +++ b/src/components/FetchData.vue @@ -40,7 +40,7 @@ onMounted(async () => { async function fetch() { try { - const filter = Object.assign({}, $props.filter); + const filter = Object.assign({}, $props.filter); // eslint-disable-line vue/no-dupe-keys if ($props.where) filter.where = $props.where; if ($props.sortBy) filter.order = $props.sortBy; if ($props.limit) filter.limit = $props.limit; diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index f4d81a30f..0a4580289 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -77,7 +77,7 @@ function reset() { state.set($props.model, originalData.value); hasChanges.value = false; } - +// eslint-disable-next-line vue/no-dupe-keys function filter(value, update, filterOptions) { update( () => { diff --git a/src/components/common/vnDiscount.vue b/src/components/common/vnDiscount.vue index 37cbd478f..b82923ad2 100644 --- a/src/components/common/vnDiscount.vue +++ b/src/components/common/vnDiscount.vue @@ -36,7 +36,7 @@ const props = defineProps({ const emit = defineEmits(['onUpdate']); -const discount = ref(0); +const discount = ref(0); // eslint-disable-line vue/no-dupe-keys let canceller; onMounted(() => { diff --git a/src/pages/Claim/Card/ClaimLines.vue b/src/pages/Claim/Card/ClaimLines.vue index ea87aa314..9d2a12804 100644 --- a/src/pages/Claim/Card/ClaimLines.vue +++ b/src/pages/Claim/Card/ClaimLines.vue @@ -418,7 +418,7 @@ function showImportDialog() { en: You are about to remove {count} rows: ' - You are about to remove {count} row | + You are about to remove {count} row | You are about to remove {count} rows' es: Claimed lines: Líneas reclamadas @@ -435,6 +435,6 @@ es: Discount updated: Descuento actualizado Claimed quantity: Cantidad reclamada You are about to remove {count} rows: ' - Vas a eliminar {count} línea | + Vas a eliminar {count} línea | Vas a eliminar {count} líneas' diff --git a/src/router/modules/worker.js b/src/router/modules/worker.js index 17a937c64..f79d7f06d 100644 --- a/src/router/modules/worker.js +++ b/src/router/modules/worker.js @@ -11,7 +11,7 @@ export default { redirect: { name: 'WorkerMain' }, menus: { main: ['WorkerList'], - card: ['WorkerNotificationsManager'], + // card: ['WorkerNotificationsManager'], }, children: [ { @@ -46,15 +46,15 @@ export default { }, component: () => import('src/pages/Worker/Card/WorkerSummary.vue'), }, - { - name: 'WorkerNotificationsManager', - path: 'notifications', - meta: { - title: 'notifications', - icon: 'notifications', - }, - component: () => import('src/pages/Worker/Card/WorkerNotificationsManager.vue'), - }, + // { + // name: 'WorkerNotificationsManager', + // path: 'notifications', + // meta: { + // title: 'notifications', + // icon: 'notifications', + // }, + // component: () => import('src/pages/Worker/Card/WorkerNotificationsManager.vue'), + // }, ], }, ],