zero issues in a version should be displayed as DONE and not TODO

Fri, 09 Oct 2020 11:43:15 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 09 Oct 2020 11:43:15 +0200
changeset 116
d24354f21df5
parent 115
c27638a50c92
child 117
874ff787949b

zero issues in a version should be displayed as DONE and not TODO

src/main/java/de/uapcore/lightpit/entities/IssueSummary.java file | annotate | diff | comparison | revisions
     1.1 --- a/src/main/java/de/uapcore/lightpit/entities/IssueSummary.java	Fri Oct 09 11:41:35 2020 +0200
     1.2 +++ b/src/main/java/de/uapcore/lightpit/entities/IssueSummary.java	Fri Oct 09 11:43:15 2020 +0200
     1.3 @@ -44,7 +44,7 @@
     1.4  
     1.5      public int getDonePercent() {
     1.6          int total = getTotal();
     1.7 -        return total > 0 ? 100*done/total : 0;
     1.8 +        return total > 0 ? 100*done/total : 100;
     1.9      }
    1.10  
    1.11      /**

mercurial