Merge pull request #1249 from mailpoet/stats-segmentation
Stats segmentation [PREMIUM-42]
This commit is contained in:
@ -804,6 +804,10 @@ const Listing = React.createClass({
|
||||
if (this.props.messages !== undefined) {
|
||||
messages = this.props.messages;
|
||||
}
|
||||
let extraActions;
|
||||
if (typeof this.props.renderExtraActions === 'function') {
|
||||
extraActions = this.props.renderExtraActions(this.state);
|
||||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
@ -824,6 +828,7 @@ const Listing = React.createClass({
|
||||
onSelectFilter={this.handleFilter}
|
||||
onEmptyTrash={this.handleEmptyTrash}
|
||||
/>
|
||||
{extraActions}
|
||||
<ListingPages
|
||||
count={this.state.count}
|
||||
page={this.state.page}
|
||||
|
@ -9,6 +9,7 @@ abstract class Response {
|
||||
const STATUS_UNAUTHORIZED = 401;
|
||||
const STATUS_FORBIDDEN = 403;
|
||||
const STATUS_NOT_FOUND = 404;
|
||||
const STATUS_CONFLICT = 409;
|
||||
const STATUS_UNKNOWN = 500;
|
||||
|
||||
public $status;
|
||||
|
Reference in New Issue
Block a user