We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9921e9e commit 17cafe7Copy full SHA for 17cafe7
packages/manager/src/features/IAM/Users/UserRoles/AssignedEntities.tsx
@@ -83,7 +83,9 @@ export const AssignedEntities = ({
83
addEllipsis
84
customOverflowButton={(numHiddenByTruncate) => {
85
const numHiddenItems =
86
- totalCount - MAX_ITEMS_TO_RENDER + numHiddenByTruncate;
+ totalCount <= MAX_ITEMS_TO_RENDER
87
+ ? numHiddenByTruncate
88
+ : totalCount - MAX_ITEMS_TO_RENDER + numHiddenByTruncate;
89
90
return (
91
<Box
0 commit comments