feat(Data Table Node): Add limit to get and change copy (no-changelog) (#19190)

This commit is contained in:
Daria
2025-09-05 09:46:38 +03:00
committed by GitHub
parent ee91aa00f1
commit 48efb4c865
7 changed files with 72 additions and 38 deletions

View File

@@ -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);
}