Skip to content

Commit

Permalink
When adding a task to the feature, make it editable
Browse files Browse the repository at this point in the history
My including a space in the title.

Also set the description (so not "undefined").
  • Loading branch information
jimfulton committed Jul 4, 2017
1 parent bdc93ee commit 81b62c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/ui/board.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,11 @@ class ProjectColumn extends React.Component {
if (state.explode) {
const feature = board.tasks[feature_id];
if (feature.subtasks().length == 0) {
api.add_task({project_id: feature_id, title: '', size: 1});
api.add_task({
project_id: feature_id,
title: ' ',
description: '',
size: 1});
}
}
}
Expand Down

0 comments on commit 81b62c6

Please sign in to comment.