diff --git a/packages/builder/src/pages/builder/portal/overview/_components/AssignmentModal.svelte b/packages/builder/src/pages/builder/portal/overview/_components/AssignmentModal.svelte index 2f0688097d..d67697e9b1 100644 --- a/packages/builder/src/pages/builder/portal/overview/_components/AssignmentModal.svelte +++ b/packages/builder/src/pages/builder/portal/overview/_components/AssignmentModal.svelte @@ -39,9 +39,9 @@ } } - $: filteredGroups = $groups.filter(element => { - return !element.apps.find(y => { - return y.appId === app.appId + $: filteredGroups = $groups.filter(group => { + return !group.apps.find(appId => { + return appId === app.appId }) })