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 {
|
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 }
|
||||||
|
)
|
||||||
|
: [],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user