mirror of
https://github.com/strapi/strapi.git
synced 2025-09-28 01:40:11 +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 IS_DISABLED from 'ee_else_ce/pages/SettingsPage/pages/Roles/EditPage/components/ContentTypeCollapse/CollapsePropertyMatrix/ActionRow/utils/constants';
|
||||||
import { get } from 'lodash';
|
import { get } from 'lodash';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
@ -132,7 +132,7 @@ const ActionRow = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Cell key={actionId} justifyContent="center" alignItems="center">
|
<Cell key={actionId} justifyContent="center" alignItems="center">
|
||||||
<Checkbox
|
<BaseCheckbox
|
||||||
disabled={isFormDisabled || IS_DISABLED}
|
disabled={isFormDisabled || IS_DISABLED}
|
||||||
name={checkboxName.join('..')}
|
name={checkboxName.join('..')}
|
||||||
aria-label={formatMessage(
|
aria-label={formatMessage(
|
||||||
@ -163,7 +163,7 @@ const ActionRow = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Cell key={label} justifyContent="center" alignItems="center">
|
<Cell key={label} justifyContent="center" alignItems="center">
|
||||||
<Checkbox
|
<BaseCheckbox
|
||||||
disabled={isFormDisabled || IS_DISABLED}
|
disabled={isFormDisabled || IS_DISABLED}
|
||||||
name={checkboxName.join('..')}
|
name={checkboxName.join('..')}
|
||||||
// Keep same signature as packages/core/admin/admin/src/components/Roles/Permissions/index.js l.91
|
// 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 IS_DISABLED from 'ee_else_ce/pages/SettingsPage/pages/Roles/EditPage/components/ContentTypeCollapse/CollapsePropertyMatrix/SubActionRow/utils/constants';
|
||||||
import { get, upperFirst } from 'lodash';
|
import { get, upperFirst } from 'lodash';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
@ -151,7 +151,7 @@ const SubActionRow = ({
|
|||||||
if (!subChildrenForm) {
|
if (!subChildrenForm) {
|
||||||
return (
|
return (
|
||||||
<Cell key={propertyLabel} justifyContent="center" alignItems="center">
|
<Cell key={propertyLabel} justifyContent="center" alignItems="center">
|
||||||
<Checkbox
|
<BaseCheckbox
|
||||||
disabled={isFormDisabled || IS_DISABLED}
|
disabled={isFormDisabled || IS_DISABLED}
|
||||||
name={checkboxName.join('..')}
|
name={checkboxName.join('..')}
|
||||||
aria-label={formatMessage(
|
aria-label={formatMessage(
|
||||||
@ -182,7 +182,7 @@ const SubActionRow = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Cell key={propertyLabel} justifyContent="center" alignItems="center">
|
<Cell key={propertyLabel} justifyContent="center" alignItems="center">
|
||||||
<Checkbox
|
<BaseCheckbox
|
||||||
key={propertyLabel}
|
key={propertyLabel}
|
||||||
disabled={isFormDisabled || IS_DISABLED}
|
disabled={isFormDisabled || IS_DISABLED}
|
||||||
name={checkboxName.join('..')}
|
name={checkboxName.join('..')}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user