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