feat: refs #7584 tabulaciones y saltos de linea
gitea/mylogger/pipeline/pr-master This commit looks good Details

This commit is contained in:
Robert Ferrús 2024-09-09 11:49:21 +02:00
parent c501b254d5
commit 6b53029c06
1 changed files with 3 additions and 1 deletions

View File

@ -522,7 +522,9 @@ module.exports = class MyLogger {
`[${action}]`[actionColor[action]], `[${action}]`[actionColor[action]],
`${logInfo.name}: ${originFk}, ${modelName}: ${modelId}` `${logInfo.name}: ${originFk}, ${modelName}: ${modelId}`
); );
const noInclude = tableInfo.rowExcludeField && !row.editorFk; const noInclude = tableInfo.rowExcludeField && !row.editorFk;
try { try {
if (isDelete && (!tableInfo.rowExcludeField || noInclude)) { if (isDelete && (!tableInfo.rowExcludeField || noInclude)) {
[[deleteRow]] = await logInfo.fetchStmt.execute([ [[deleteRow]] = await logInfo.fetchStmt.execute([