diff --git a/plugins/woocommerce-admin/client/header/activity-panel/index.js b/plugins/woocommerce-admin/client/header/activity-panel/index.js index 1cfa671bff8..f71adb9374b 100644 --- a/plugins/woocommerce-admin/client/header/activity-panel/index.js +++ b/plugins/woocommerce-admin/client/header/activity-panel/index.js @@ -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 } ); }