Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Update client/header/activity-panel/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
psealock authored Jun 25, 2019
1 parent 0e2e094 commit defa4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/header/activity-panel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class ActivityPanel extends Component {
togglePanel( tabName ) {
const { isPanelOpen, currentTab } = this.state;

// If no panel is open, or if a new panel is opening, record a track.
// If a panel is being opened, or if an existing panel is already open and a different one is being opened, record a track.
if ( ! isPanelOpen || tabName !== currentTab ) {
recordEvent( 'wcadmin_activity_panel_open', { tab: tabName } );
}
Expand Down

0 comments on commit defa4ce

Please sign in to comment.