Fix select all channels checkbox (#838)

* Fix select all channels checkbox

* Clarify checkout description
This commit is contained in:
Krzysztof Wolski 2020-11-18 15:32:22 +01:00 committed by GitHub
parent 01f92310bf
commit 6d31be7c2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -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"

View file

@ -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>
)
}