Skip to content

Commit

Permalink
#1946 Update frontend to use limited count in case extraData
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Apr 10, 2021
1 parent 8edfe5f commit 875951d
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 @@ -255,8 +255,9 @@ <h3 class="box-title">List of cases ({{$vm.list.values.length || 0}} of {{$vm.li

<a ui-sref="app.case.observables({caseId: currentCase._id})">
<span>Observables</span>
<strong class="pull-right">{{currentCase.extraData.observableStats.total
|| 0}}</strong>
<strong class="pull-right">{{currentCase.extraData.observableStats.total < 0 ?
-currentCase.extraData.observableStats.total + "+" :
currentCase.extraData.observableStats.total || 0}}</strong>
</a>
</div>

Expand Down

0 comments on commit 875951d

Please sign in to comment.