diff --git a/app/src/utils/get-js-type.ts b/app/src/utils/get-js-type.ts index 9064c27212..067c9f6e14 100644 --- a/app/src/utils/get-js-type.ts +++ b/app/src/utils/get-js-type.ts @@ -10,6 +10,6 @@ export function getJSType(field: Field): string { if (['string', 'text', 'uuid', 'hash'].includes(field.type)) return 'string'; if (['boolean'].includes(field.type)) return 'boolean'; if (['time', 'timestamp', 'date', 'dateTime'].includes(field.type)) return 'string'; - if (['json', 'csv'].includes(field.type)) return 'object'; + if (['json', 'csv', 'geometry'].includes(field.type)) return 'object'; return 'undefined'; }