From df907a72809e7caf2bb90603cd0fb2ce14ca41aa Mon Sep 17 00:00:00 2001 From: jorgep Date: Tue, 30 Jul 2024 12:43:26 +0200 Subject: [PATCH 1/2] fix: refs #6449 fix summaryId --- src/components/common/VnLog.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue index 19765b1f7..282393623 100644 --- a/src/components/common/VnLog.vue +++ b/src/components/common/VnLog.vue @@ -213,7 +213,7 @@ function getLogTree(data) { } nLogs++; modelLog.logs.push(log); - + modelLog.summaryId = modelLog.logs[0].summaryId; // Changes const notDelete = log.action != 'delete'; const olds = (notDelete ? log.oldInstance : null) || {}; @@ -464,9 +464,12 @@ onUnmounted(() => { > {{ t(modelLog.modelI18n) }} - #{{ modelLog.summaryId }} + + {{ modelLog.showValue }} From 3bb261376d15f1c179eb012bdabb8dd5bbec137f Mon Sep 17 00:00:00 2001 From: jorgep Date: Tue, 30 Jul 2024 13:16:45 +0200 Subject: [PATCH 2/2] chore: refs #6449 refactor model-value text --- src/components/common/VnLog.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue index 282393623..2af40dd27 100644 --- a/src/components/common/VnLog.vue +++ b/src/components/common/VnLog.vue @@ -470,9 +470,11 @@ onUnmounted(() => { v-if="modelLog.summaryId" v-text="`#${modelLog.summaryId}`" /> - - {{ modelLog.showValue }} - +