mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
fix(Google Calendar Node): Mode to add or replace attendees in event update (#11132)
This commit is contained in:
@@ -839,6 +839,58 @@ export const eventFields: INodeProperties[] = [
|
||||
default: 'no',
|
||||
description: 'Whether the event is all day or not',
|
||||
},
|
||||
{
|
||||
displayName: 'Attendees',
|
||||
name: 'attendeesUi',
|
||||
type: 'fixedCollection',
|
||||
placeholder: 'Add Attendees',
|
||||
default: {
|
||||
values: {
|
||||
mode: 'add',
|
||||
attendees: [],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
displayName: 'Values',
|
||||
name: 'values',
|
||||
values: [
|
||||
{
|
||||
displayName: 'Mode',
|
||||
name: 'mode',
|
||||
type: 'options',
|
||||
default: 'add',
|
||||
options: [
|
||||
{
|
||||
name: 'Add Attendees Below [Default]',
|
||||
value: 'add',
|
||||
},
|
||||
{
|
||||
name: 'Replace Attendees with Those Below',
|
||||
value: 'replace',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
displayName: 'Attendees',
|
||||
name: 'attendees',
|
||||
type: 'string',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
multipleValueButtonText: 'Add Attendee',
|
||||
},
|
||||
default: '',
|
||||
description: 'The attendees of the event. Multiple ones can be separated by comma.',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
displayOptions: {
|
||||
show: {
|
||||
'@version': [{ _cnd: { gte: 1.2 } }],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Attendees',
|
||||
name: 'attendees',
|
||||
@@ -849,6 +901,11 @@ export const eventFields: INodeProperties[] = [
|
||||
},
|
||||
default: '',
|
||||
description: 'The attendees of the event. Multiple ones can be separated by comma.',
|
||||
displayOptions: {
|
||||
show: {
|
||||
'@version': [1, 1.1],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Color Name or ID',
|
||||
|
||||
Reference in New Issue
Block a user