fix(Mailjet Trigger Node): Fix issue that node could not get activated (#3281)

* 🔨 fix and clean up

*  Improvements

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
This commit is contained in:
Michael Kret
2022-05-15 21:39:54 +03:00
committed by GitHub
parent 50246d174a
commit e09e349fed
7 changed files with 73 additions and 90 deletions

View File

@@ -1,4 +1,4 @@
import {
import {
INodeProperties,
} from 'n8n-workflow';
@@ -7,6 +7,7 @@ export const emailOperations: INodeProperties[] = [
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [
@@ -443,11 +444,10 @@ export const emailFields: INodeProperties[] = [
default: '',
},
{
displayName: 'Track Opens',
name: 'trackOpens',
type: 'string',
description: 'Enable or disable open tracking on this message',
default: '',
displayName: 'Template Language',
name: 'templateLanguage',
type: 'boolean',
default: false,
},
{
displayName: 'Track Clicks',
@@ -457,10 +457,11 @@ export const emailFields: INodeProperties[] = [
default: '',
},
{
displayName: 'Template Language',
name: 'templateLanguage',
type: 'boolean',
default: false,
displayName: 'Track Opens',
name: 'trackOpens',
type: 'string',
description: 'Enable or disable open tracking on this message',
default: '',
},
],
},