Browse Source

fix: exclude time and year cell from manual save

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4530/head
Pranav C 2 years ago
parent
commit
a78bd5daf9
  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,
].includes(column.uidt as UITypes)
export const isManualSaved = (column: ColumnType) =>
[UITypes.Currency, UITypes.Year, UITypes.Time].includes(column.uidt as UITypes)
export const isManualSaved = (column: ColumnType) => [UITypes.Currency].includes(column.uidt as UITypes)
export const isPrimary = (column: ColumnType) => !!column.pv

Loading…
Cancel
Save