mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
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:
parent
321780d4a2
commit
6bc477b50e
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue