Skip to content

Commit

Permalink
Same again but better
Browse files Browse the repository at this point in the history
  • Loading branch information
textbook committed Apr 14, 2016
1 parent 7d0e1d3 commit e4cb66d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flash/static/scripts/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ var SERVICES = {
tracker: function (pane, data) {
if (data.velocity) { pane.find('.velocity').text(data.velocity); }
if (data.stories) {
pane.find('.ready').text(data.stories.planned + data.stories.unstarted || 0);
pane.find('.ready').text(
(data.stories.planned || 0) + (data.stories.unstarted || 0)
);
pane.find('.accepted').text(data.stories.accepted || 0);
pane.find('.in-flight').text(data.stories.started || 0);
pane.find('.completed').text(
Expand Down

0 comments on commit e4cb66d

Please sign in to comment.