From 51f230bf933ee9a627a76aab5c9fe56ac908b2b1 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Tue, 2 Jul 2024 06:08:10 +0000 Subject: [PATCH] fix: history updatedBy i18n --- .../HistoryEditComponent.vue | 158 +++++++++--------- src/i18n/en-US/form-dialog.ts | 1 + 2 files changed, 83 insertions(+), 76 deletions(-) diff --git a/src/components/03_customer-management/HistoryEditComponent.vue b/src/components/03_customer-management/HistoryEditComponent.vue index c135cb23..43d9b8bf 100644 --- a/src/components/03_customer-management/HistoryEditComponent.vue +++ b/src/components/03_customer-management/HistoryEditComponent.vue @@ -23,10 +23,10 @@ const columns: QTableColumn[] = [ headerStyle: 'font-weight: bold', }, { - name: 'editBy', + name: 'updatedBy', align: 'center', label: t('editBy'), - field: 'editBy', + field: 'updatedBy', headerStyle: 'font-weight: bold', }, @@ -258,7 +258,6 @@ async function groupEmployeeHistory( masterId: curr.masterId, updatedBy: curr.updatedBy, updatedByUserId: curr.updatedByUserId, - timestamp: curr.timestamp, updatedAt: updatedAt, id: curr.id, history: [ @@ -278,7 +277,6 @@ async function groupEmployeeHistory( masterId: curr.masterId, updatedBy: curr.updatedBy, updatedByUserId: curr.updatedByUserId, - timestamp: curr.timestamp, updatedAt: updatedAt, id: curr.id, history: [ @@ -319,7 +317,7 @@ watch(