Browse Source

chore: include ID & Foreign Key

pull/2160/head
Wing-Kam Wong 3 years ago
parent
commit
b8c9f987c9
  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