mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(core): Correctly apply maxRows limit when fetching the dataset (#16176)
This commit is contained in:
committed by
GitHub
parent
aa1c3e497e
commit
09fd5c01d4
@@ -143,7 +143,7 @@ export class EvaluationTrigger implements INodeType {
|
||||
{},
|
||||
);
|
||||
|
||||
const result = testRunnerResult.filter((row) => (row?.json?.row_number as number) <= maxRows);
|
||||
const result = testRunnerResult.slice(0, maxRows - 1);
|
||||
|
||||
return [result];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user