|
|
@ -534,8 +534,8 @@ const saveOrUpdateRecords = async (args: { metaValue?: TableType; viewMetaValue? |
|
|
|
currentRow.rowMeta.changed = false |
|
|
|
currentRow.rowMeta.changed = false |
|
|
|
for (const field of (args.metaValue || meta.value)?.columns ?? []) { |
|
|
|
for (const field of (args.metaValue || meta.value)?.columns ?? []) { |
|
|
|
if (isVirtualCol(field)) continue |
|
|
|
if (isVirtualCol(field)) continue |
|
|
|
if (currentRow.row[field.title!] !== currentRow.oldRow[field.title!]) { |
|
|
|
if (field.title! in currentRow.row && currentRow.row[field.title!] !== currentRow.oldRow[field.title!]) { |
|
|
|
await updateOrSaveRow(currentRow, field.title!, args) |
|
|
|
await updateOrSaveRow(currentRow, field.title!, {}, args) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|