Skip to content

Commit a68c5bf

Browse files
committed
fix(FR-579): The contents of the credential list appear blurry. (#3228)
resolves #3227 (FR-579) Simplifies the loading indicator in the UserCredentialList component by removing the custom LoadingOutlined indicator and using the default loading state. This maintains the same loading behavior while reducing unnecessary configuration. **Checklist:** - [ ] Documentation - [ ] Minium required manager version - [x] Specific setting for review: go to Users - Credentials tab - [ ] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after
1 parent 79d34bd commit a68c5bf

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

react/src/components/UserCredentialList.tsx

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import {
2121
import {
2222
DeleteOutlined,
2323
InfoCircleOutlined,
24-
LoadingOutlined,
2524
ReloadOutlined,
2625
SettingOutlined,
2726
} from '@ant-design/icons';
@@ -255,14 +254,12 @@ const UserCredentialList: React.FC = () => {
255254
// resizable
256255
rowKey={'id'}
257256
scroll={{ x: 'max-content' }}
258-
loading={{
259-
spinning:
260-
isActiveTypePending ||
261-
isPendingRefresh ||
262-
isPendingPageChange ||
263-
isPendingFilter,
264-
indicator: <LoadingOutlined />,
265-
}}
257+
loading={
258+
isActiveTypePending ||
259+
isPendingRefresh ||
260+
isPendingPageChange ||
261+
isPendingFilter
262+
}
266263
dataSource={filterNonNullItems(keypair_list?.items)}
267264
columns={filterEmptyItem([
268265
{

0 commit comments

Comments
 (0)