mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 17:00:55 +00:00
feedback fixes
This commit is contained in:
parent
024eca8690
commit
1a8fe9626e
@ -1,4 +1,4 @@
|
||||
import { Checkbox, Row } from '@strapi/parts';
|
||||
import { BaseCheckbox, Row } from '@strapi/parts';
|
||||
import IS_DISABLED from 'ee_else_ce/pages/SettingsPage/pages/Roles/EditPage/components/ContentTypeCollapse/CollapsePropertyMatrix/ActionRow/utils/constants';
|
||||
import { get } from 'lodash';
|
||||
import PropTypes from 'prop-types';
|
||||
@ -132,7 +132,7 @@ const ActionRow = ({
|
||||
|
||||
return (
|
||||
<Cell key={actionId} justifyContent="center" alignItems="center">
|
||||
<Checkbox
|
||||
<BaseCheckbox
|
||||
disabled={isFormDisabled || IS_DISABLED}
|
||||
name={checkboxName.join('..')}
|
||||
aria-label={formatMessage(
|
||||
@ -163,7 +163,7 @@ const ActionRow = ({
|
||||
|
||||
return (
|
||||
<Cell key={label} justifyContent="center" alignItems="center">
|
||||
<Checkbox
|
||||
<BaseCheckbox
|
||||
disabled={isFormDisabled || IS_DISABLED}
|
||||
name={checkboxName.join('..')}
|
||||
// Keep same signature as packages/core/admin/admin/src/components/Roles/Permissions/index.js l.91
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Box, Checkbox, Row, Text } from '@strapi/parts';
|
||||
import { Box, BaseCheckbox, Row, Text } from '@strapi/parts';
|
||||
import IS_DISABLED from 'ee_else_ce/pages/SettingsPage/pages/Roles/EditPage/components/ContentTypeCollapse/CollapsePropertyMatrix/SubActionRow/utils/constants';
|
||||
import { get, upperFirst } from 'lodash';
|
||||
import PropTypes from 'prop-types';
|
||||
@ -151,7 +151,7 @@ const SubActionRow = ({
|
||||
if (!subChildrenForm) {
|
||||
return (
|
||||
<Cell key={propertyLabel} justifyContent="center" alignItems="center">
|
||||
<Checkbox
|
||||
<BaseCheckbox
|
||||
disabled={isFormDisabled || IS_DISABLED}
|
||||
name={checkboxName.join('..')}
|
||||
aria-label={formatMessage(
|
||||
@ -182,7 +182,7 @@ const SubActionRow = ({
|
||||
|
||||
return (
|
||||
<Cell key={propertyLabel} justifyContent="center" alignItems="center">
|
||||
<Checkbox
|
||||
<BaseCheckbox
|
||||
key={propertyLabel}
|
||||
disabled={isFormDisabled || IS_DISABLED}
|
||||
name={checkboxName.join('..')}
|
||||
|
Loading…
x
Reference in New Issue
Block a user