This commit is contained in:
parent
19bcd267c0
commit
4e709c2091
|
@ -492,6 +492,7 @@ module.exports = class MyLogger {
|
|||
const isDelete = action == 'delete';
|
||||
const isUpdate = action == 'update';
|
||||
const created = new Date(evt.timestamp);
|
||||
const showId = tableInfo.conf.showId;
|
||||
|
||||
for (const change of changes) {
|
||||
let newI, oldI;
|
||||
|
@ -514,7 +515,7 @@ module.exports = class MyLogger {
|
|||
oldI = change.instance;
|
||||
break;
|
||||
}
|
||||
const summaryId = row[tableInfo.conf.showId];
|
||||
const summaryId = showId ? row[showId] : null;
|
||||
const modelId = row[tableInfo.idName];
|
||||
const modelValue = change.modelValue ?? null;
|
||||
const oldInstance = oldI ? JSON.stringify(oldI) : null;
|
||||
|
|
Loading…
Reference in New Issue