Fix select on channel checkbox (#1828)

This commit is contained in:
Wojciech Mista 2022-02-07 12:43:19 +01:00 committed by GitHub
parent 10fb086d6e
commit 5f771568c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -303,7 +303,7 @@ const ProductExportDialogInfo: React.FC<ProductExportDialogInfoProps> = ({
selectedInventoryFields.length === inventoryFields.length;
const handleSelectAllChannels = () =>
onSelectAllChannels(channels, channels.length);
onSelectAllChannels(selectedChannels, channels.length);
return (
<>