Remove some superfluous functions
This commit is contained in:
parent
ee2c58ffae
commit
f897aa6287
1 changed files with 2 additions and 8 deletions
|
@ -263,16 +263,10 @@ var StoryRow = React.createClass({
|
||||||
});
|
});
|
||||||
|
|
||||||
var StoryTable = React.createClass({
|
var StoryTable = React.createClass({
|
||||||
handleMoved: React.autoBind(function(direction) {
|
|
||||||
this.props.onStoryMoved(direction);
|
|
||||||
}),
|
|
||||||
handleSelected: React.autoBind(function(storyId) {
|
|
||||||
this.props.onStorySelected(storyId);
|
|
||||||
}),
|
|
||||||
render: function() {
|
render: function() {
|
||||||
var storyNodes = this.props.data.map(function (story) {
|
var storyNodes = this.props.data.map(function (story) {
|
||||||
return <StoryRow story={story} onMoved={this.handleMoved}
|
return <StoryRow story={story} onMoved={this.props.onStoryMoved}
|
||||||
onTitleClicked={this.handleSelected}
|
onTitleClicked={this.props.onStorySelected}
|
||||||
onAssigneeClicked={this.props.onAssigneeClicked} />;
|
onAssigneeClicked={this.props.onAssigneeClicked} />;
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue