Skip to content

Commit bf2d3c7

Browse files
committed
feat: update the header for super admin in csv export
1 parent e40b647 commit bf2d3c7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/common/ExportToCsv/constants.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const USER_EXPORT_HEADERS = [
3232
{ label: 'Email address', key: 'emailId' },
3333
{ label: 'User ID', key: 'userId' },
3434
{ label: 'Last login time', key: 'lastLoginTime' },
35-
{ label: 'Superadmin', key: 'superAdmin' },
35+
{ label: 'Super admin', key: 'superAdmin' },
3636
{ label: 'Group permissions', key: 'groups' },
3737
{ label: 'Project', key: 'project' },
3838
{ label: 'Environment', key: 'environment' },
@@ -44,7 +44,7 @@ export const USER_EXPORT_HEADER_ROW = {
4444
emailId: 'Email address',
4545
userId: 'User ID',
4646
lastLoginTime: 'Last login time',
47-
superAdmin: 'Superadmin',
47+
superAdmin: 'Super admin',
4848
groups: 'Group permissions',
4949
project: 'Project',
5050
environment: 'Environment',
@@ -56,7 +56,7 @@ export const GROUP_EXPORT_HEADERS = [
5656
{ label: 'Group Name', key: 'groupName' },
5757
{ label: 'Group ID', key: 'groupId' },
5858
{ label: 'Description', key: 'description' },
59-
{ label: 'Superadmin', key: 'superAdmin' },
59+
{ label: 'Super admin', key: 'superAdmin' },
6060
{ label: 'Project', key: 'project' },
6161
{ label: 'Environment', key: 'environment' },
6262
{ label: 'Application', key: 'application' },
@@ -67,7 +67,7 @@ export const GROUP_EXPORT_HEADER_ROW = {
6767
groupName: 'Group Name',
6868
groupId: 'Group ID',
6969
description: 'Description',
70-
superAdmin: 'Superadmin',
70+
superAdmin: 'Super admin',
7171
project: 'Project',
7272
environment: 'Environment',
7373
application: 'Application',

src/components/common/SortableTableHeaderCell/SortableTableHeaderCell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { SortingOrder } from '../../../config'
33
import { ReactComponent as SortIcon } from '../../../assets/icons/ic-arrow-up-down.svg'
44
import { ReactComponent as SortArrowDown } from '../../../assets/icons/ic-sort-arrow-down.svg'
55

6-
// TODO: move this to common library
6+
// TODO (v1): move this to common library
77
const SortableTableHeaderCell = ({
88
isSorted,
99
triggerSorting,

0 commit comments

Comments
 (0)