forked from verdnatura/salix-front
Reviewed-on: verdnatura/salix-front#579 Reviewed-by: Juan Ferrer <juan@verdnatura.es>
This commit is contained in:
commit
10cbf6f46e
|
@ -214,7 +214,7 @@ function getLogTree(data) {
|
||||||
}
|
}
|
||||||
nLogs++;
|
nLogs++;
|
||||||
modelLog.logs.push(log);
|
modelLog.logs.push(log);
|
||||||
|
modelLog.summaryId = modelLog.logs[0].summaryId;
|
||||||
// Changes
|
// Changes
|
||||||
const notDelete = log.action != 'delete';
|
const notDelete = log.action != 'delete';
|
||||||
const olds = (notDelete ? log.oldInstance : null) || {};
|
const olds = (notDelete ? log.oldInstance : null) || {};
|
||||||
|
@ -472,12 +472,17 @@ watch(
|
||||||
>
|
>
|
||||||
{{ t(modelLog.modelI18n) }}
|
{{ t(modelLog.modelI18n) }}
|
||||||
</QChip>
|
</QChip>
|
||||||
<span class="model-id" v-if="modelLog.summaryId"
|
|
||||||
>#{{ modelLog.summaryId }}</span
|
<span
|
||||||
>
|
class="model-id q-mr-xs"
|
||||||
<span class="model-value" :title="modelLog.showValue">
|
v-if="modelLog.summaryId"
|
||||||
{{ modelLog.showValue }}
|
v-text="`#${modelLog.summaryId}`"
|
||||||
</span>
|
/>
|
||||||
|
<span
|
||||||
|
class="model-value"
|
||||||
|
:title="modelLog.showValue"
|
||||||
|
v-text="modelLog.showValue"
|
||||||
|
/>
|
||||||
<QBtn
|
<QBtn
|
||||||
flat
|
flat
|
||||||
round
|
round
|
||||||
|
|
Loading…
Reference in New Issue