mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
add currency dropdown
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
import {
|
||||
IExecuteFunctions,
|
||||
} from 'n8n-core';
|
||||
|
||||
import {
|
||||
IDataObject,
|
||||
INodeTypeDescription,
|
||||
INodeExecutionData,
|
||||
INodeType,
|
||||
INodePropertyOptions,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import {
|
||||
@@ -13,6 +15,8 @@ import {
|
||||
activeCampaignApiRequestAllItems,
|
||||
} from './GenericFunctions';
|
||||
|
||||
import { returnAllCurrencyOptions } from './currencies'
|
||||
|
||||
interface CustomProperty {
|
||||
name: string;
|
||||
value: string;
|
||||
@@ -555,8 +559,8 @@ export class ActiveCampaign implements INodeType {
|
||||
{
|
||||
displayName: 'Currency',
|
||||
name: 'currency',
|
||||
type: 'string',
|
||||
default: '',
|
||||
type: 'options',
|
||||
default: 'eur',
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
@@ -568,6 +572,7 @@ export class ActiveCampaign implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
options: returnAllCurrencyOptions(),
|
||||
description: 'The currency of the deal in 3-character ISO format',
|
||||
},
|
||||
{
|
||||
@@ -695,7 +700,8 @@ export class ActiveCampaign implements INodeType {
|
||||
{
|
||||
displayName: 'Currency',
|
||||
name: 'currency',
|
||||
type: 'string',
|
||||
type: 'options',
|
||||
options: returnAllCurrencyOptions(),
|
||||
default: '',
|
||||
description: 'The currency of the deal in 3-character ISO format',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user