hubspot-pages #5

Merged
roman merged 4 commits from hubspot-pages into master 2022-11-24 05:25:59 +00:00
Showing only changes of commit a2f8c7ebc1 - Show all commits
+3 -1
View File
@@ -98,7 +98,9 @@ export function convertToHubspotField(field = {}) {
});
case 'select':
const options = [];
Object.keys(field.options).forEach(value => options.push([value, field.options[value]]));
if (field.options) {
Object.keys(field.options).forEach(value => options.push([value, field.options[value]]));
}
return Object.assign({}, data, {
type: "choice",