Skip to content

Commit c27b0dc

Browse files
committed
chore: update condition logic
1 parent 2715478 commit c27b0dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/settingsFields.component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class SettingsFields extends React.Component {
198198
case 'checkbox': {
199199
const isEmailField = key === 'enforceVerifiedEmail'
200200
const emailConfigured = isEmailConfigured(d2)
201-
const explanatoryText =
201+
const explanatoryText = isEmailField &&
202202
emailConfigured &&
203203
'Settings must be configured to send emails to enforce verified emails'
204204

0 commit comments

Comments
 (0)