Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-13129-fixed-1763987727502.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

IAM: filtering by entity type at the Roles table ([#13129](https://github.com/linode/manager/pull/13129))
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ export const RolesTable = ({ roles = [] }: Props) => {
};

const filteredRows = React.useMemo(() => {
if (!query) return roles;

return getFilteredRows(query, filterableEntityType?.value);
return getFilteredRows(query ?? '', filterableEntityType?.value);
}, [roles, query, filterableEntityType]);

// Get just the list of entity types from this list of roles, to be used in the selection filter
Expand Down