onDateChange={this.onDateChange}
onSearch={this.onSearch}/>
- <Tasks tasks={[].concat(this.state.queue, this.state.activity)}
- onTaskCanceled={this.onTaskCanceled}
- onFilter={this.handleFilter}/>
+ <Tasks {...this.props}
+ tasks={[].concat(this.state.queue, this.state.activity)}
+ onTaskCanceled={this.onTaskCanceled}
+ onFilter={this.handleFilter}/>
<ListFooter count={this.state.queue.length + this.state.activity.length}
total={this.state.queue.length + this.state.activityTotal}
},
renderFilter(task) {
+ if (this.props.options.component) {
+ return null;
+ }
return <td className="thin nowrap">
<a onClick={this.handleFilter.bind(this, task)} className="icon-filter icon-half-transparent spacer-left" href="#"
title={`Show only "${task.componentName}" tasks`} data-toggle="tooltip"/>