fix(HTML Node): Add pairedItem support for 'Convert to HTML Table' operation (#7196)

Github issue / Community forum post (link here to close automatically):

Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
Marcus 2023-09-20 13:56:53 +02:00 committed by GitHub
parent 321780d4a2
commit 6bc477b50e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -411,7 +411,16 @@ export class Html implements INodeType {
table += '</tbody>';
table += '</table>';
return [[{ json: { table } }]];
return [
[
{
json: { table },
pairedItem: items.map((_item, index) => ({
item: index,
})),
},
],
];
}
let item: INodeExecutionData;