Browse Source

chore/reverted-gui-v2-count-cell-added-icon-to-cell-header

pull/2949/head
Muhammed Mustafa 2 years ago
parent
commit
c90c1bab33
  1. 3
      packages/nc-gui-v2/components/smartsheet-header/CellIcon.vue
  2. 2
      packages/nc-gui-v2/composables/useColumn.ts

3
packages/nc-gui-v2/components/smartsheet-header/CellIcon.vue

@ -6,7 +6,6 @@ import { useColumn } from '#imports'
import KeyIcon from '~icons/mdi/key-variant'
import JSONIcon from '~icons/mdi/code-json'
// import FKIcon from '~icons/mdi/link-variant'
import CountIcon from '~icons/mdi/counter'
import TextAreaIcon from '~icons/mdi/card-text-outline'
import StringIcon from '~icons/mdi/alpha-a-box-outline'
import BooleanIcon from '~icons/mdi/check-box-outline'
@ -57,8 +56,6 @@ const icon = computed(() => {
return DecimalIcon
} else if (additionalColMeta.isPhoneNumber) {
return FilePhoneIcon
} else if (additionalColMeta.isCount) {
return CountIcon
}
// else if(additionalColMeta.isForeignKey) {
// return FKIcon

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

@ -34,7 +34,6 @@ export function useColumn(column: ColumnType) {
const isDecimal = uiDatatype === UITypes.Decimal
const isDuration = uiDatatype === UITypes.Duration
const isPercent = uiDatatype === UITypes.Percent
const isCount = uiDatatype === UITypes.Count
const isAutoSaved = [
UITypes.SingleLineText,
UITypes.LongText,
@ -67,7 +66,6 @@ export function useColumn(column: ColumnType) {
isEnum,
isSet,
isURL,
isCount,
isEmail,
isAttachment,
isRating,

Loading…
Cancel
Save