mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
feat(Data Table Node): Add limit to get and change copy (no-changelog) (#19190)
This commit is contained in:
@@ -44,7 +44,7 @@ export async function getDataTableProxyExecute(
|
||||
|
||||
export async function getDataTableProxyLoadOptions(
|
||||
ctx: ILoadOptionsFunctions,
|
||||
): Promise<IDataStoreProjectService> {
|
||||
): Promise<IDataStoreProjectService | undefined> {
|
||||
if (ctx.helpers.getDataStoreProxy === undefined)
|
||||
throw new NodeOperationError(
|
||||
ctx.getNode(),
|
||||
@@ -55,6 +55,10 @@ export async function getDataTableProxyLoadOptions(
|
||||
extractValue: true,
|
||||
}) as string;
|
||||
|
||||
if (!dataStoreId) {
|
||||
return;
|
||||
}
|
||||
|
||||
return await ctx.helpers.getDataStoreProxy(dataStoreId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user