feat(Notion Node): Allow to ignore Notion URL properties if empty (#3564)

* Allows to ignore Notion URL properties if empty

* Fixes linting

* Fixes another linting error that was not caught locally

* Reorders options alphabetically
This commit is contained in:
Florian Bachmann
2022-07-20 13:34:52 +02:00
committed by GitHub
parent 577c73ee25
commit 6cb9aefb0b
2 changed files with 37 additions and 5 deletions

View File

@@ -319,6 +319,19 @@ export const databasePageFields = [
default: '',
description: 'Email address',
},
{
displayName: 'Ignore If Empty',
name: 'ignoreIfEmpty',
type: 'boolean',
displayOptions: {
show: {
type: [
'url',
],
},
},
default: false,
},
{
displayName: 'URL',
name: 'urlValue',
@@ -732,6 +745,19 @@ export const databasePageFields = [
},
default: '',
},
{
displayName: 'Ignore If Empty',
name: 'ignoreIfEmpty',
type: 'boolean',
displayOptions: {
show: {
type: [
'url',
],
},
},
default: false,
},
{
displayName: 'URL',
name: 'urlValue',