0
0
Fork 0

fix: refs #6449 fix summaryId

This commit is contained in:
Jorge Penadés 2024-07-30 12:43:26 +02:00
parent d0149d8cbe
commit df907a7280
1 changed files with 7 additions and 4 deletions

View File

@ -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) }}
</QChip>
<span class="model-id" v-if="modelLog.summaryId"
>#{{ modelLog.summaryId }}</span
>
<span
class="model-id q-mr-xs"
v-if="modelLog.summaryId"
v-text="`#${modelLog.summaryId}`"
/>
<span class="model-value" :title="modelLog.showValue">
{{ modelLog.showValue }}
</span>