Skip to content

Commit

Permalink
#1796 Fix the case duration on re-opened cases
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Feb 24, 2021
1 parent b7b0580 commit 6193f6b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/app/views/partials/case/case.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,9 @@ <h3 class="box-title">List of cases ({{$vm.list.total || 0}} of {{$vm.caseCount}
<span uib-tooltip="{{currentCase.startDate | showDate}}" tooltip-popup-delay="500" tooltip-placement="bottom">{{currentCase.startDate | shortDate}}</span>
</a>
</div>
<div>
<case-duration start="currentCase.startDate" end="currentCase.endDate" icon="fa-clock-o"></case-duration>
<div ng-switch="currentCase.status">
<case-duration ng-switch-when="Resolved" start="currentCase.startDate" end="currentCase.endDate" icon="fa-clock-o"></case-duration>
<case-duration ng-switch-when="Open" start="currentCase.startDate" icon="fa-clock-o"></case-duration>
</div>
</td>
<td class="text-center">
Expand Down

0 comments on commit 6193f6b

Please sign in to comment.