Skip to content

Commit cf1478e

Browse files
UIE-10777: IAM: text update
1 parent 43c8d13 commit cf1478e

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

packages/manager/src/features/IAM/Shared/constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ export const ERROR_STATE_TEXT =
7575

7676
// Delegation error messages
7777
export const NO_ITEMS_TO_DISPLAY_TEXT = 'No items to display.';
78-
export const NO_DELEGATED_USERS_TEXT = 'No users added.';
7978

8079
// Links
8180
export const IAM_DOCS_LINK =

packages/manager/src/features/IAM/Users/UserDelegations/UserDelegationsTable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { TableRow } from 'src/components/TableRow';
2020
import { TableRowEmpty } from 'src/components/TableRowEmpty/TableRowEmpty';
2121
import { TableSortCell } from 'src/components/TableSortCell';
2222
import { useIsIAMDelegationEnabled } from 'src/features/IAM/hooks/useIsIAMEnabled';
23-
import { NO_DELEGATED_USERS_TEXT } from 'src/features/IAM/Shared/constants';
23+
import { NO_ITEMS_TO_DISPLAY_TEXT } from 'src/features/IAM/Shared/constants';
2424
import { useOrderV2 } from 'src/hooks/useOrderV2';
2525
import { usePaginationV2 } from 'src/hooks/usePaginationV2';
2626

@@ -130,7 +130,7 @@ export const UserDelegationsTable = () => {
130130
</TableHead>
131131
<TableBody>
132132
{childAccounts?.data.length === 0 && (
133-
<TableRowEmpty colSpan={1} message={NO_DELEGATED_USERS_TEXT} />
133+
<TableRowEmpty colSpan={1} message={NO_ITEMS_TO_DISPLAY_TEXT} />
134134
)}
135135
{childAccounts?.data?.map((childAccount) => (
136136
<TableRow key={childAccount.euuid}>

0 commit comments

Comments
 (0)