PLT-5071: Client side component of Telemetry. (#5516)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
f182d196ff
Коммит
97cc0a0d73
@@ -3,6 +3,7 @@
|
||||
|
||||
import Constants from 'utils/constants.jsx';
|
||||
|
||||
import {trackEvent} from 'actions/diagnostics_actions.jsx';
|
||||
import {switchTeams} from 'actions/team_actions.jsx';
|
||||
|
||||
import React from 'react';
|
||||
@@ -19,6 +20,7 @@ export default class TeamButton extends React.Component {
|
||||
|
||||
handleSwitch(e) {
|
||||
e.preventDefault();
|
||||
trackEvent('ui', 'ui_team_sidebar_switch_team');
|
||||
switchTeams(this.props.url);
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user