Skip to content

Commit

Permalink
Merge pull request #10587 from cyril-ui-developer/roleBindings-tab-do…
Browse files Browse the repository at this point in the history
…esnt-show-correct-rolebindings

Bug 2025903: - RoleBindings tab doesn't show correct rolebindings
  • Loading branch information
openshift-merge-robot authored Dec 1, 2021
2 parents 5a3922f + 7ae5607 commit 158c23d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/public/components/factory/table-filters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ export const tableFilters: FilterMap = {
'role-binding-roleRef-kind': (kind, binding) => binding.roleRef.kind === kind.selected?.[0],

// Filter role bindings by user name
'role-binding-user': (userName, { subject }) => subject.name === userName.selected?.[0],
'role-binding-user': (userName, { subject }) => subject.name === userName,

// Filter role bindings by group name
'role-binding-group': (groupName, { subject }) => subject.name === groupName.selected?.[0],
'role-binding-group': (groupName, { subject }) => subject.name === groupName,

labels: (values, obj) => {
if (!values.all) {
Expand Down

0 comments on commit 158c23d

Please sign in to comment.