call togglePhase from header buttons
This commit is contained in:
parent
5fb9276ef3
commit
2b4b6feba2
3 changed files with 6 additions and 10 deletions
|
@ -32,11 +32,7 @@ export default class HeaderButton extends React.Component {
|
|||
|
||||
onClick(ev) {
|
||||
Analytics.trackEvent(...this.props.analytics);
|
||||
dis.dispatch({
|
||||
action: 'view_right_panel_phase',
|
||||
phase: this.props.clickPhase,
|
||||
fromHeader: true,
|
||||
});
|
||||
this.props.onClick();
|
||||
}
|
||||
|
||||
render() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue