Skip to content

Commit

Permalink
gh-974 - Fixing the list retrivel with filter for consumption roles
Browse files Browse the repository at this point in the history
  • Loading branch information
TejasRGitHub authored and trajopadhye committed Jan 12, 2024
1 parent d5a384f commit e7a8034
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,7 @@ export const RequestAccessModal = (props) => {
try {
const response = await client.query(
listEnvironmentConsumptionRoles({
filter: {
page: 1,
pageSize: 10,
term: '',
groupUri: groupUri
},
filter: { ...Defaults.selectListFilter, groupUri: groupUri },
environmentUri
})
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export const EnvironmentTeams = ({ environment }) => {
const response = await client.query(
listAllEnvironmentGroups({
environmentUri: environment.environmentUri,
filter
filter: filter
})
);
if (!response.errors) {
Expand All @@ -285,7 +285,7 @@ export const EnvironmentTeams = ({ environment }) => {
const response = await client.query(
listAllEnvironmentConsumptionRoles({
environmentUri: environment.environmentUri,
filterRoles
filter: filterRoles
})
);
if (!response.errors) {
Expand Down

0 comments on commit e7a8034

Please sign in to comment.