diff --git a/packages/nc-gui/components/smartsheet/Grid.vue b/packages/nc-gui/components/smartsheet/Grid.vue index 343da347d3..f16aca60f2 100644 --- a/packages/nc-gui/components/smartsheet/Grid.vue +++ b/packages/nc-gui/components/smartsheet/Grid.vue @@ -558,11 +558,14 @@ const saveOrUpdateRecords = async (args: { metaValue?: TableType; viewMetaValue? currentRow.rowMeta.changed = false continue } + /** if existing row check updated cell and invoke update method */ if (currentRow.rowMeta.changed) { currentRow.rowMeta.changed = false for (const field of (args.metaValue || meta.value)?.columns ?? []) { - if (isVirtualCol(field)) continue + // `url` would be enriched in attachment during listing + // hence it would consider as a change while it is not necessary to update + if (isVirtualCol(field) || field.uidt === UITypes.Attachment) continue if (field.title! in currentRow.row && currentRow.row[field.title!] !== currentRow.oldRow[field.title!]) { await updateOrSaveRow(currentRow, field.title!, {}, args) }