From 56073bb9951ce98cfa125cecbfcd03350890ebf5 Mon Sep 17 00:00:00 2001 From: Marc Date: Thu, 11 Apr 2024 14:25:18 +1000 Subject: [PATCH] Bugfix - missed rename when renaming opts to limitOpts in API.ts --- src/API.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/API.ts b/src/API.ts index d1e9e2a2..f7991539 100644 --- a/src/API.ts +++ b/src/API.ts @@ -123,7 +123,7 @@ export class API { } else if (isPickOption(limitOpts)) { newFormDefinition = { ...formDefinition, - fields: formDefinition.fields.filter((field) => opts.pick.includes(field.name)), + fields: formDefinition.fields.filter((field) => limitOpts.pick.includes(field.name)), }; } else { throw new ModalFormError(