add extra condition for disabling button (#1530) (#1574)

This commit is contained in:
Michał Droń 2021-11-08 13:45:50 +01:00 committed by GitHub
parent 7db7ac88d2
commit 7bc9825a0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,6 +148,7 @@ export const ChannelDetailsPage: React.FC<ChannelDetailsPageProps> = ({
!data.name || !data.name ||
!data.slug || !data.slug ||
!data.currencyCode || !data.currencyCode ||
!data.defaultCountry ||
!(data.name.trim().length > 0); !(data.name.trim().length > 0);
return ( return (