Don't show "authorize now" message when email field is empty
[MAILPOET-6111]
This commit is contained in:
committed by
Oluwaseun Olorunsola
parent
a55725838d
commit
c3968e7cad
@@ -56,7 +56,7 @@ function SenderEmailAddressWarning({
|
||||
MailPoet.freeMailDomains.indexOf(emailAddressDomain) > -1;
|
||||
|
||||
if (mssActive) {
|
||||
if (!isEmailAuthorized) {
|
||||
if (!isEmailAuthorized && emailAddress) {
|
||||
displayElements.push(
|
||||
<div key="authorizeMyEmail">
|
||||
<p className="sender_email_address_warning">
|
||||
|
Reference in New Issue
Block a user