Google callbacks wrapped in dispatch, but shouldn't have beeen
This commit is contained in:
@ -221,6 +221,7 @@ class LibraryBrowseDirectory extends React.Component {
|
||||
<Button
|
||||
onClick={(e) => { uiActions.hideContextMenu(); this.playAll(e, all_tracks); }}
|
||||
noHover
|
||||
discrete
|
||||
tracking={{ category: 'Directory', action: 'Play' }}
|
||||
>
|
||||
<Icon name="play_circle_filled" />
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
import { bindActionCreators } from 'redux';
|
||||
import Link from '../../components/Link';
|
||||
import Button from '../../components/Button';
|
||||
import PlaylistGrid from '../../components/PlaylistGrid';
|
||||
import List from '../../components/List';
|
||||
import DropdownField from '../../components/Fields/DropdownField';
|
||||
@ -282,6 +282,7 @@ class LibraryPlaylists extends React.Component {
|
||||
<Button
|
||||
to="/playlist/create"
|
||||
noHover
|
||||
discrete
|
||||
tracking={{ category: 'Playlist', action: 'Create' }}
|
||||
>
|
||||
<Icon name="add_box" />
|
||||
|
||||
@ -64,14 +64,17 @@ class LibraryTracks extends React.Component {
|
||||
}
|
||||
|
||||
const options = (
|
||||
<Button
|
||||
onClick={(e) => this.playAll(e)}
|
||||
tracking={{ category: 'LibraryTracks', action: 'Play' }}
|
||||
noHover
|
||||
>
|
||||
<Icon name="play_circle_filled" />
|
||||
<I18n path="actions.play_all" />
|
||||
</Button>
|
||||
<div className="header__options__wrapper">
|
||||
<Button
|
||||
onClick={(e) => this.playAll(e)}
|
||||
tracking={{ category: 'LibraryTracks', action: 'Play' }}
|
||||
noHover
|
||||
discrete
|
||||
>
|
||||
<Icon name="play_circle_filled" />
|
||||
<I18n path="actions.play_all" />
|
||||
</Button>
|
||||
</div>
|
||||
);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user