Fix epic progress bar in epics dashboard

stable
David Barragán Merino 2016-09-08 09:59:19 +02:00
parent ac751f8019
commit 9f6df07a40
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ class EpicRowController
# the code compatible with the old code # the code compatible with the old code
@.project = @projectService.project.toJS() @.project = @projectService.project.toJS()
@._calculateProgressBar()
_calculateProgressBar: () -> _calculateProgressBar: () ->
if @.epic.getIn(['status_extra_info', 'is_closed']) == true if @.epic.getIn(['status_extra_info', 'is_closed']) == true
@.percentage = "100%" @.percentage = "100%"