Fix select all channels checkbox (#838)
* Fix select all channels checkbox * Clarify checkout description
This commit is contained in:
parent
01f92310bf
commit
6d31be7c2c
2 changed files with 5 additions and 5 deletions
|
@ -1542,8 +1542,8 @@
|
||||||
"src_dot_components_dot_ChannelsAvailabilityContent_dot_1866672276": {
|
"src_dot_components_dot_ChannelsAvailabilityContent_dot_1866672276": {
|
||||||
"string": "No Channels found"
|
"string": "No Channels found"
|
||||||
},
|
},
|
||||||
"src_dot_components_dot_ChannelsAvailabilityContent_dot_3630122739": {
|
"src_dot_components_dot_ChannelsAvailabilityContent_dot_3488518738": {
|
||||||
"string": "Available at all channels"
|
"string": "Select all channels"
|
||||||
},
|
},
|
||||||
"src_dot_components_dot_ChannelsAvailabilityContent_dot_3754190292": {
|
"src_dot_components_dot_ChannelsAvailabilityContent_dot_3754190292": {
|
||||||
"string": "Channels A to Z"
|
"string": "Channels A to Z"
|
||||||
|
|
|
@ -60,12 +60,12 @@ export const ChannelsAvailabilityContent: React.FC<ChannelsAvailabilityContentPr
|
||||||
{!!toggleAll && (
|
{!!toggleAll && (
|
||||||
<>
|
<>
|
||||||
<ControlledCheckbox
|
<ControlledCheckbox
|
||||||
checked={selected !== 0}
|
checked={selected === channels?.length}
|
||||||
name="allchannels"
|
name="allChannels"
|
||||||
label={
|
label={
|
||||||
toggleAllText || (
|
toggleAllText || (
|
||||||
<Typography className={classes.label}>
|
<Typography className={classes.label}>
|
||||||
<FormattedMessage defaultMessage="Available at all channels" />
|
<FormattedMessage defaultMessage="Select all channels" />
|
||||||
</Typography>
|
</Typography>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue