-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Agile CRM Node): Fix issue with company address not working (#6997)
- Loading branch information
Showing
2 changed files
with
117 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -379,11 +379,47 @@ export const companyFields: INodeProperties[] = [ | |
options: [ | ||
{ | ||
displayName: 'Address', | ||
name: 'email', | ||
type: 'string', | ||
placeholder: '[email protected]', | ||
default: '', | ||
name: 'addressOptions', | ||
type: 'fixedCollection', | ||
default: {}, | ||
description: 'Company address', | ||
typeOptions: { | ||
multipleValues: true, | ||
}, | ||
options: [ | ||
{ | ||
displayName: 'Address Properties', | ||
name: 'addressProperties', | ||
values: [ | ||
{ | ||
displayName: 'Type', | ||
name: 'subtype', | ||
type: 'options', | ||
required: true, | ||
default: '', | ||
description: 'Type of address', | ||
options: [ | ||
{ | ||
name: 'Postal', | ||
value: 'postal', | ||
}, | ||
{ | ||
name: 'Office', | ||
value: 'office', | ||
}, | ||
], | ||
}, | ||
{ | ||
displayName: 'Address', | ||
name: 'address', | ||
type: 'string', | ||
required: true, | ||
default: '', | ||
description: 'Full address', | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
{ | ||
displayName: 'Email', | ||
|
@@ -655,11 +691,47 @@ export const companyFields: INodeProperties[] = [ | |
options: [ | ||
{ | ||
displayName: 'Address', | ||
name: 'email', | ||
type: 'string', | ||
placeholder: '[email protected]', | ||
default: '', | ||
name: 'addressOptions', | ||
type: 'fixedCollection', | ||
default: {}, | ||
description: 'Company address', | ||
typeOptions: { | ||
multipleValues: true, | ||
}, | ||
options: [ | ||
{ | ||
displayName: 'Address Properties', | ||
name: 'addressProperties', | ||
values: [ | ||
{ | ||
displayName: 'Type', | ||
name: 'subtype', | ||
type: 'options', | ||
required: true, | ||
default: '', | ||
description: 'Type of address', | ||
options: [ | ||
{ | ||
name: 'Postal', | ||
value: 'postal', | ||
}, | ||
{ | ||
name: 'Office', | ||
value: 'office', | ||
}, | ||
], | ||
}, | ||
{ | ||
displayName: 'Address', | ||
name: 'address', | ||
type: 'string', | ||
required: true, | ||
default: '', | ||
description: 'Full address', | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
{ | ||
displayName: 'Email', | ||
|