fix(Respond to Webhook Node)!: Surround HTML in iframe (#16978)

Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
This commit is contained in:
Dana
2025-07-11 09:59:35 +02:00
committed by GitHub
parent c96d34b64c
commit 810f5daa16
10 changed files with 326 additions and 15 deletions

View File

@@ -0,0 +1,20 @@
export const configuredOutputs = (
version: number,
parameters: { enableResponseOutput?: boolean },
) => {
const multipleOutputs = version === 1.3 || (version >= 1.4 && parameters.enableResponseOutput);
if (multipleOutputs) {
return [
{
type: 'main',
displayName: 'Input Data',
},
{
type: 'main',
displayName: 'Response',
},
];
}
return ['main'];
};