Skip to content

Commit

Permalink
Merge pull request #9530 from google/enhancement/9437-include-feature…
Browse files Browse the repository at this point in the history
…-flag-follow-up

Add feature flag guard. (Follow-up)
  • Loading branch information
tofumatt authored Oct 17, 2024
2 parents c287439 + e1ecae0 commit ace575e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/js/googlesitekit/datastore/user/key-metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,9 @@ const baseSelectors = {
const keyMetricSettings = select( CORE_USER ).getKeyMetricsSettings();
const isUserInputCompleted = select( CORE_USER ).isUserInputCompleted();
const showConversionTailoredMetrics =
keyMetricSettings?.includeConversionTailoredMetrics ||
isUserInputCompleted;
( keyMetricSettings?.includeConversionTailoredMetrics ||
isUserInputCompleted ) &&
isFeatureEnabled( 'conversionReporting' );

switch ( purpose ) {
case 'publish_blog':
Expand Down

0 comments on commit ace575e

Please sign in to comment.