Browse Source

fix: on update modify lastmodified column in ui from response

pull/7304/head
Pranav C 12 months ago
parent
commit
1221d93b04
  1. 4
      packages/nc-gui/composables/useData.ts

4
packages/nc-gui/composables/useData.ts

@ -242,8 +242,10 @@ export function useData(args: {
col.uidt === UITypes.Rollup ||
col.uidt === UITypes.Checkbox ||
col.uidt === UITypes.User ||
col.uidt === UITypes.LastModifiedTime ||
col.uidt === UITypes.Lookup ||
col.au ||
col.cdf?.includes(' on update ')
(col.cdf && / on update /i.test(col.cdf))
)
acc[col.title!] = updatedRowData[col.title!]
return acc

Loading…
Cancel
Save