Skip to content

Commit

Permalink
Ads: Fixes check for displaying the Ads module settings (#18893)
Browse files Browse the repository at this point in the history
  • Loading branch information
cphilleo authored Feb 22, 2021
1 parent abc2dec commit a0ef920
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export const SettingsCard = props => {

case FEATURE_WORDADS_JETPACK:
if (
! hasPremiumOrBetter ||
! hasPremiumOrBetter &&
-1 === props.activeFeatures.indexOf( FEATURE_WORDADS_JETPACK )
) {
return false;
Expand Down

0 comments on commit a0ef920

Please sign in to comment.