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": {
|
||||
"string": "No Channels found"
|
||||
},
|
||||
"src_dot_components_dot_ChannelsAvailabilityContent_dot_3630122739": {
|
||||
"string": "Available at all channels"
|
||||
"src_dot_components_dot_ChannelsAvailabilityContent_dot_3488518738": {
|
||||
"string": "Select all channels"
|
||||
},
|
||||
"src_dot_components_dot_ChannelsAvailabilityContent_dot_3754190292": {
|
||||
"string": "Channels A to Z"
|
||||
|
|
|
@ -60,12 +60,12 @@ export const ChannelsAvailabilityContent: React.FC<ChannelsAvailabilityContentPr
|
|||
{!!toggleAll && (
|
||||
<>
|
||||
<ControlledCheckbox
|
||||
checked={selected !== 0}
|
||||
name="allchannels"
|
||||
checked={selected === channels?.length}
|
||||
name="allChannels"
|
||||
label={
|
||||
toggleAllText || (
|
||||
<Typography className={classes.label}>
|
||||
<FormattedMessage defaultMessage="Available at all channels" />
|
||||
<FormattedMessage defaultMessage="Select all channels" />
|
||||
</Typography>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue