Browse Source

fix(nc-gui): reorder the row meta set logic

pull/5601/head
Wing-Kam Wong 2 years ago
parent
commit
9147ff0668
  1. 10
      packages/nc-gui/components/smartsheet/Grid.vue

10
packages/nc-gui/components/smartsheet/Grid.vue

@ -316,14 +316,14 @@ const {
return return
} }
// update/save cell value
await updateOrSaveRow(rowObj, ctx.updatedColumnTitle || columnObj.title)
// See DateTimePicker.vue for details // See DateTimePicker.vue for details
data.value[ctx.row].rowMeta.isUpdateOutside = { data.value[ctx.row].rowMeta.isUpdatedFromCopyNPaste = {
...data.value[ctx.row].rowMeta.isUpdateOutside, ...data.value[ctx.row].rowMeta.isUpdatedFromCopyNPaste,
[ctx.updatedColumnTitle || columnObj.title]: true, [ctx.updatedColumnTitle || columnObj.title]: true,
} }
// update/save cell value
await updateOrSaveRow(rowObj, ctx.updatedColumnTitle || columnObj.title)
}, },
) )

Loading…
Cancel
Save