fix: 🐛 empty member ids within managed groups (#1600)
This commit is contained in:
1 parent
57fcab4c53
commit
df70c76b29
1 file changed
+7
-5
+7
-5
@@ -20,11 +20,13 @@ export default class ScopesScopeAuthMethodsAuthMethodManagedGroupsManagedGroupMe
|
||||
|
||||
return {
|
||||
managedGroup,
|
||||
members: await this.resourceFilterStore.queryBy(
|
||||
'account',
|
||||
{ id: member_ids },
|
||||
{ auth_method_id }
|
||||
),
|
||||
members: member_ids?.length
|
||||
? await this.resourceFilterStore.queryBy(
|
||||
'account',
|
||||
{ id: member_ids },
|
||||
{ auth_method_id }
|
||||
)
|
||||
: [],
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user