PLT-5071: Client side component of Telemetry. (#5516)

Этот коммит содержится в:
George Goldberg
2017-02-24 17:34:21 +00:00
коммит произвёл GitHub
родитель f182d196ff
Коммит 97cc0a0d73
23 изменённых файлов: 280 добавлений и 129 удалений

Просмотреть файл

@@ -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);
}