Browse Source

feat(nc-gui): add fileMimeTypeList

pull/4931/head
Wing-Kam Wong 2 years ago
parent
commit
0ba90dbb7f
  1. 4
      packages/nc-gui/components/smartsheet/column/utils.ts

4
packages/nc-gui/components/smartsheet/column/utils.ts

@ -1,3 +1,5 @@
import type { TreeProps } from 'ant-design-vue'
const relationNames = { const relationNames = {
mm: 'Many To Many', mm: 'Many To Many',
hm: 'Has Many', hm: 'Has Many',
@ -189,3 +191,5 @@ export const fileMimeTypes = [
], ],
}, },
] ]
export const fileMimeTypeList = fileMimeTypes.map((o) => o.children).flat(1)

Loading…
Cancel
Save