From a0dbe7f133182edeedfaaee025144e391339696b Mon Sep 17 00:00:00 2001 From: Viet Date: Mon, 26 Jan 2026 10:13:17 +0700 Subject: [PATCH] Add version in Consent log --- packages/aesirx-cmp-admin/package.json | 2 +- .../ConsentsPage/ConsentsModel/ConsentsTableModel.js | 5 ++++- packages/aesirx-cmp-admin/src/translations/en/common.json | 3 ++- packages/aesirx-lib | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/aesirx-cmp-admin/package.json b/packages/aesirx-cmp-admin/package.json index f9deacd..546fee2 100644 --- a/packages/aesirx-cmp-admin/package.json +++ b/packages/aesirx-cmp-admin/package.json @@ -1,6 +1,6 @@ { "name": "aesirx-cmp-admin", - "version": "1.0.2", + "version": "1.0.3", "license": "GPL-3.0-only", "author": "AesirX", "main": "dist/index.js", diff --git a/packages/aesirx-cmp-admin/src/containers/ConsentsPage/ConsentsModel/ConsentsTableModel.js b/packages/aesirx-cmp-admin/src/containers/ConsentsPage/ConsentsModel/ConsentsTableModel.js index ab85374..493844b 100644 --- a/packages/aesirx-cmp-admin/src/containers/ConsentsPage/ConsentsModel/ConsentsTableModel.js +++ b/packages/aesirx-cmp-admin/src/containers/ConsentsPage/ConsentsModel/ConsentsTableModel.js @@ -24,6 +24,7 @@ class ConsentsTableModel { const headerTable = [ 'txt_datetime', 'txt_expiration', + 'txt_version', 'txt_consent', 'txt_web3id', 'txt_wallet', @@ -34,6 +35,7 @@ class ConsentsTableModel { const accessor = [ BI_CONSENTS_LIST_FIELD_KEY.DATETIME, BI_CONSENTS_LIST_FIELD_KEY.EXPIRATION, + BI_CONSENTS_LIST_FIELD_KEY.CONSENT_VERSION, BI_CONSENTS_LIST_FIELD_KEY.TIER, BI_CONSENTS_LIST_FIELD_KEY.WEB3ID, BI_CONSENTS_LIST_FIELD_KEY.WALLET, @@ -52,7 +54,8 @@ class ConsentsTableModel { : key === BI_CONSENTS_LIST_FIELD_KEY.DATETIME || key === BI_CONSENTS_LIST_FIELD_KEY.EXPIRATION ? 180 - : key === BI_CONSENTS_LIST_FIELD_KEY.IP + : key === BI_CONSENTS_LIST_FIELD_KEY.IP || + key === BI_CONSENTS_LIST_FIELD_KEY.CONSENT_VERSION ? 150 : key === BI_CONSENTS_LIST_FIELD_KEY.WEB3ID ? 100 diff --git a/packages/aesirx-cmp-admin/src/translations/en/common.json b/packages/aesirx-cmp-admin/src/translations/en/common.json index aa3433d..80f5682 100644 --- a/packages/aesirx-cmp-admin/src/translations/en/common.json +++ b/packages/aesirx-cmp-admin/src/translations/en/common.json @@ -266,5 +266,6 @@ "txt_user": "User", "txt_row_select_error": "Please first make a selection from the list.", "txt_privacy_scanner": "Privacy Scanner", - "txt_privacy_monitor": "Privacy Monitor" + "txt_privacy_monitor": "Privacy Monitor", + "txt_version": "Version" } diff --git a/packages/aesirx-lib b/packages/aesirx-lib index 854d3fe..05f1570 160000 --- a/packages/aesirx-lib +++ b/packages/aesirx-lib @@ -1 +1 @@ -Subproject commit 854d3fe506559426e94407fd29f286d5c47701af +Subproject commit 05f1570b08651298bbaf0b70570a77ce0aa10f83