Browse Source

Merge pull request #4530 from nocodb/fix/4520-year-and-time-sync

Fix: exclude time and year cell from manual save
pull/4536/head
Raju Udava 2 years ago committed by GitHub
parent
commit
a5b162f280
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      packages/nc-gui/utils/cell.ts

3
packages/nc-gui/utils/cell.ts

@ -46,8 +46,7 @@ export const isAutoSaved = (column: ColumnType) =>
UITypes.Duration, UITypes.Duration,
].includes(column.uidt as UITypes) ].includes(column.uidt as UITypes)
export const isManualSaved = (column: ColumnType) => export const isManualSaved = (column: ColumnType) => [UITypes.Currency].includes(column.uidt as UITypes)
[UITypes.Currency, UITypes.Year, UITypes.Time].includes(column.uidt as UITypes)
export const isPrimary = (column: ColumnType) => !!column.pv export const isPrimary = (column: ColumnType) => !!column.pv

Loading…
Cancel
Save