Browse Source

chore: include ID & Foreign Key

feat/0523-export-schema
Wing-Kam Wong 3 years ago committed by Raju Udava
parent
commit
11f2e141b9
  1. 18
      packages/nc-gui/components/project/spreadsheet/helpers/uiTypes.js

18
packages/nc-gui/components/project/spreadsheet/helpers/uiTypes.js

@ -151,10 +151,20 @@ const uiTypes = [
]
const getUIDTIcon = (uidt) => {
return ([...uiTypes, {
name: 'CreateTime',
icon: 'mdi-calendar-clock'
}].find(t => t.name === uidt) || {}).icon
return ([...uiTypes,
{
name: 'CreateTime',
icon: 'mdi-calendar-clock'
},
{
name: 'ID',
icon: 'mdi-identifier'
},
{
name: 'ForeignKey',
icon: 'mdi-link-variant'
}
].find(t => t.name === uidt) || {}).icon
}
export {

Loading…
Cancel
Save