diff --git a/src/pages/AdminPanel/PermissionController.jsx b/src/pages/AdminPanel/PermissionController.jsx index 50fe296..c232fe0 100755 --- a/src/pages/AdminPanel/PermissionController.jsx +++ b/src/pages/AdminPanel/PermissionController.jsx @@ -28,7 +28,9 @@ const PermissionController = memo(() => { const filteredPermissions = useMemo(() => permissions.filter((permission) => permission && (!searchValue || [ permission.name ?? '', permission.description ?? '', - ].join(' ').includes(searchValue.toLowerCase())) + ].join(' ') + .toLowerCase() + .includes(searchValue.toLowerCase())) ), [permissions, searchValue]) const updateTable = useCallback(async () => invokeWebApiWrapperAsync(