|
|
@ -1,4 +1,5 @@ |
|
|
|
import { isVirtualCol, filterOutSystemColumns } from 'nocodb-sdk' |
|
|
|
import { isVirtualCol, filterOutSystemColumns } from 'nocodb-sdk' |
|
|
|
|
|
|
|
import { getUIDTIcon } from '~/components/project/spreadsheet/helpers/uiTypes' |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
data: () => ({ |
|
|
|
data: () => ({ |
|
|
@ -91,7 +92,10 @@ export default { |
|
|
|
}, []) |
|
|
|
}, []) |
|
|
|
}, |
|
|
|
}, |
|
|
|
availableRealColumns() { |
|
|
|
availableRealColumns() { |
|
|
|
return this.availableColumns && this.availableColumns.filter(c => !isVirtualCol(c)) |
|
|
|
return this.availableColumns && this.availableColumns.filter(c => !isVirtualCol(c)).map(c => ({ |
|
|
|
|
|
|
|
...c, |
|
|
|
|
|
|
|
icon: getUIDTIcon(c.uidt) |
|
|
|
|
|
|
|
})) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
allColumns() { |
|
|
|
allColumns() { |
|
|
|