Browse Source

feat(gui-v2): add isPercent

pull/2910/head
Wing-Kam Wong 2 years ago
parent
commit
d3d1b6622d
  1. 2
      packages/nc-gui-v2/composables/useColumn.ts

2
packages/nc-gui-v2/composables/useColumn.ts

@ -31,6 +31,7 @@ export default (column: ColumnType) => {
const isRating = uiDatatype === UITypes.Rating
const isCurrency = uiDatatype === 'Currency'
const isDuration = uiDatatype === UITypes.Duration
const isPercent = uiDatatype === UITypes.Percent
const isAutoSaved = [
UITypes.SingleLineText,
UITypes.LongText,
@ -72,5 +73,6 @@ export default (column: ColumnType) => {
isManualSaved,
isSingleSelect,
isMultiSelect,
isPercent,
}
}

Loading…
Cancel
Save