Fri, 09 Oct 2020 11:43:15 +0200
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 |
--- a/src/main/java/de/uapcore/lightpit/entities/IssueSummary.java Fri Oct 09 11:41:35 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/entities/IssueSummary.java Fri Oct 09 11:43:15 2020 +0200 @@ -44,7 +44,7 @@ public int getDonePercent() { int total = getTotal(); - return total > 0 ? 100*done/total : 0; + return total > 0 ? 100*done/total : 100; } /**