fix(Set Node): Null should not throw an error (#7416)

Github issue / Community forum post (link here to close automatically):
This commit is contained in:
Michael Kret
2023-10-12 18:07:12 +03:00
committed by GitHub
parent 46977a2aff
commit e9b6ab04cd
5 changed files with 258 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ export class Set extends VersionedNodeType {
icon: 'fa:pen',
group: ['input'],
description: 'Add or edit fields on an input item and optionally remove other fields',
defaultVersion: 3.1,
defaultVersion: 3.2,
};
const nodeVersions: IVersionedNodeType['nodeVersions'] = {
@@ -20,6 +20,7 @@ export class Set extends VersionedNodeType {
2: new SetV1(baseDescription),
3: new SetV2(baseDescription),
3.1: new SetV2(baseDescription),
3.2: new SetV2(baseDescription),
};
super(nodeVersions, baseDescription);