mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-01 05:38:33 +08:00
fix(Data Table Node): Change copy for Limit to indicate it applies per input row (#27813)
This commit is contained in:
@@ -31,7 +31,7 @@ export const description: INodeProperties[] = [
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
displayName: 'Limit Per Input Row',
|
||||
name: 'limit',
|
||||
type: 'number',
|
||||
displayOptions: {
|
||||
|
||||
@@ -28,7 +28,7 @@ export const description: INodeProperties[] = [
|
||||
displayOptions,
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
displayName: 'Limit Per Input Row',
|
||||
name: 'limit',
|
||||
type: 'number',
|
||||
default: ROWS_LIMIT_DEFAULT,
|
||||
@@ -88,8 +88,8 @@ export async function execute(
|
||||
this: IExecuteFunctions,
|
||||
index: number,
|
||||
): Promise<INodeExecutionData[]> {
|
||||
const returnAll = this.getNodeParameter('returnAll', index) as boolean;
|
||||
const limit = this.getNodeParameter('limit', index, ROWS_LIMIT_DEFAULT) as number;
|
||||
const returnAll = this.getNodeParameter('returnAll', index);
|
||||
const limit = this.getNodeParameter('limit', index, ROWS_LIMIT_DEFAULT);
|
||||
const options = this.getNodeParameter('options', index, {}) as {
|
||||
filterName?: string;
|
||||
sortField?: string;
|
||||
|
||||
Reference in New Issue
Block a user