fix: 🐛 empty member ids within managed groups (#1600)

This commit is contained in:
Dharini Jeeva authored and GitHub committed 2023-01-23 15:27:23 -08:00
1 parent 57fcab4c53
commit df70c76b29
1 file changed
+7 -5
@@ -20,11 +20,13 @@ export default class ScopesScopeAuthMethodsAuthMethodManagedGroupsManagedGroupMe
return { return {
managedGroup, managedGroup,
members: await this.resourceFilterStore.queryBy( members: member_ids?.length
'account', ? await this.resourceFilterStore.queryBy(
{ id: member_ids }, 'account',
{ auth_method_id } { id: member_ids },
), { auth_method_id }
)
: [],
}; };
} }
} }