mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 03:17:11 +00:00
updated search component in user permission roles
This commit is contained in:
parent
63fa310c67
commit
42162ff2cd
@ -23,7 +23,7 @@ import {
|
||||
useRBAC,
|
||||
NoPermissions,
|
||||
LoadingIndicatorPage,
|
||||
Search,
|
||||
SearchURLQuery,
|
||||
useQueryParams,
|
||||
EmptyStateLayout,
|
||||
ConfirmDialog,
|
||||
@ -137,7 +137,7 @@ const RoleListPage = () => {
|
||||
})}
|
||||
primaryAction={
|
||||
<CheckPermissions permissions={permissions.createRole}>
|
||||
<Button onClick={handleNewRoleClick} startIcon={<Plus />}>
|
||||
<Button onClick={handleNewRoleClick} startIcon={<Plus />} size="L">
|
||||
{formatMessage({
|
||||
id: getTrad('List.button.roles'),
|
||||
defaultMessage: 'Add new role',
|
||||
@ -149,7 +149,7 @@ const RoleListPage = () => {
|
||||
|
||||
<ActionLayout
|
||||
startActions={
|
||||
<Search
|
||||
<SearchURLQuery
|
||||
label={formatMessage({
|
||||
id: 'app.component.search.label',
|
||||
defaultMessage: 'Search',
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user