Allow to create simple product with no channels (#1552) (#1575)

This commit is contained in:
Michał Droń 2021-11-10 13:16:49 +01:00 committed by GitHub
parent 3de07a4f3b
commit c3cc2b03de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -280,7 +280,6 @@ export const ProductCreateView: React.FC<ProductCreateProps> = ({ params }) => {
{!!allChannels?.length && (
<ChannelsAvailabilityDialog
isSelected={isChannelSelected}
disabled={!channelListElements.length}
channels={allChannels}
onChange={channelsToggle}
onClose={handleChannelsModalClose}