Skip to content

Commit

Permalink
fix: Resolve Permission Name Mismatch and Improve Search Usability
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushKumar123456789 committed Dec 29, 2024
1 parent 86a21b5 commit 7fa470c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useTranslation } from 'react-i18next';
const PermissionsTableFilter = ({ onChange }: { onChange: (debouncedFilter: string) => void }): ReactElement => {
const { t } = useTranslation();
const [filter, setFilter] = useState('');
const debouncedFilter = useDebouncedValue(filter, 500);
const debouncedFilter = useDebouncedValue(filter.replace(/\s+/g, '-'), 500);

useEffect(() => {
onChange(debouncedFilter);
Expand Down
6 changes: 3 additions & 3 deletions packages/i18n/src/locales/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"access-marketplace_description": "Permission to browse and get apps from the marketplace",
"access-permissions": "Access Permissions Screen",
"access-permissions_description": "Modify permissions for various roles.",
"access-setting-permissions": "Modify Setting-Based Permissions",
"access-setting-permissions": "Access setting permissions",
"access-setting-permissions_description": "Permission to modify setting-based permissions",
"Accessing_permissions": "Accessing permissions",
"Account_SID": "Account SID",
Expand Down Expand Up @@ -529,7 +529,7 @@
"API_Use_REST_For_DDP_Calls": "Use REST instead of websocket for Meteor calls",
"API_User_Limit": "User Limit for Adding All Users to Channel",
"API_Wordpress_URL": "WordPress URL",
"api-bypass-rate-limit": "Bypass rate limit for REST API",
"api-bypass-rate-limit": "Api bypass rate limit",
"api-bypass-rate-limit_description": "Permission to call api without rate limitation",
"Apiai_Key": "Api.ai Key",
"Apiai_Language": "Api.ai Language",
Expand Down Expand Up @@ -3565,7 +3565,7 @@
"manage-own-integrations_description": "Permition to allow users to create and edit their own integration or webhooks",
"manage-own-outgoing-integrations": "Manage Own Outgoing Integrations",
"manage-own-outgoing-integrations_description": "Permission to allow users to create and edit their own outgoing integration or webhooks",
"manage-selected-settings": "Change Some Settings",
"manage-selected-settings": "Manage selected settings",
"manage-selected-settings_description": "Permission to change settings which are explicitly granted to be changed",
"manage-sounds": "Manage Sounds",
"manage-sounds_description": "Permission to manage the server sounds",
Expand Down

0 comments on commit 7fa470c

Please sign in to comment.