Skip to content

Commit

Permalink
Stats: Data Filtering for Traffic Page: Hides the highlight section (#…
Browse files Browse the repository at this point in the history
…95665)

* hides the highlight section under FF. To be removed completely after release.

* move comment
  • Loading branch information
annacmc authored Oct 24, 2024
1 parent 70de921 commit 27b49fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/my-sites/stats/site.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,10 @@ class StatsSite extends Component {
<p>New date filtering enabled.</p>
</div>
) }
<HighlightsSection siteId={ siteId } currentPeriod={ defaultPeriod } />
{ ! isNewDateFilteringEnabled && (
// @TODO: remove highlight section completely once flag is released
<HighlightsSection siteId={ siteId } currentPeriod={ defaultPeriod } />
) }
<div id="my-stats-content" className={ wrapperClass }>
<>
<StatsPeriodHeader>
Expand Down

0 comments on commit 27b49fc

Please sign in to comment.