From a97a3f3512a34be04e72ff71c9ee5933f38f78fc Mon Sep 17 00:00:00 2001 From: 0xsysr3ll <0xsysr3ll@pm.me> Date: Mon, 28 Apr 2025 19:59:58 +0200 Subject: [PATCH] refactor(userlist): remove unused sort messages from User List --- src/components/UserList/index.tsx | 3 --- src/i18n/locale/en.json | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/components/UserList/index.tsx b/src/components/UserList/index.tsx index f13bc69e3..9bd596d58 100644 --- a/src/components/UserList/index.tsx +++ b/src/components/UserList/index.tsx @@ -87,9 +87,6 @@ const messages = defineMessages('components.UserList', { toggleSortDirection: 'Click again to sort {direction}', ascending: 'ascending', descending: 'descending', - sortCreated: 'Join Date', - sortDisplayName: 'Display Name', - sortRequests: 'Request Count', localLoginDisabled: 'The Enable Local Sign-In setting is currently disabled.', }); diff --git a/src/i18n/locale/en.json b/src/i18n/locale/en.json index 3f66dfa96..d7bd97840 100644 --- a/src/i18n/locale/en.json +++ b/src/i18n/locale/en.json @@ -1320,9 +1320,6 @@ "components.UserList.sortByRole": "Sort by user role", "components.UserList.sortByType": "Sort by account type", "components.UserList.sortByUser": "Sort by username", - "components.UserList.sortCreated": "Join Date", - "components.UserList.sortDisplayName": "Display Name", - "components.UserList.sortRequests": "Request Count", "components.UserList.toggleSortDirection": "Click again to sort {direction}", "components.UserList.totalrequests": "Requests", "components.UserList.user": "User",