mirror of
https://github.com/strapi/strapi.git
synced 2025-12-09 05:50:37 +00:00
[i18n/rbac] show locale picker even when not authorized
This commit is contained in:
parent
5b5410adfd
commit
71399cf017
@ -362,6 +362,15 @@ function ListView({
|
||||
{isSearchable && canRead && (
|
||||
<Search changeParams={setQuery} initValue={_q} model={label} value={_q} />
|
||||
)}
|
||||
|
||||
{!canRead && (
|
||||
<Flex justifyContent="flex-end">
|
||||
<Padded right size="sm">
|
||||
<InjectionZone area={`${pluginId}.listView.actions`} />
|
||||
</Padded>
|
||||
</Flex>
|
||||
)}
|
||||
|
||||
{canRead && (
|
||||
<Wrapper>
|
||||
<div className="row" style={{ marginBottom: '5px' }}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user