Commit bc780c829dc848e906ffcc53932470b6c3300890
Exists in
master
and in
4 other branches
Merge branch 'correcoes-programas'
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/app/components/proposal-list/proposal-list.html
... | ... | @@ -11,10 +11,10 @@ |
11 | 11 | </tr> |
12 | 12 | </thead> |
13 | 13 | <tbody> |
14 | - <tr ng-repeat="proposal in vm.proposals | orderBy:'ranking_position'"> | |
14 | + <tr ng-repeat="proposal in vm.proposals | orderBy:['ranking_position','position']"> | |
15 | 15 | <td class="color-theme-fg"> |
16 | - <span class="position">{{::proposal.ranking_position}}º</span> | |
17 | - <!-- {{::proposal}} --> | |
16 | + <span ng-show="proposal.ranking_position" class="position">{{::proposal.ranking_position}}º</span> | |
17 | + <span ng-show="proposal.position" class="position">{{::proposal.position}}º</span> | |
18 | 18 | </td> |
19 | 19 | <td> |
20 | 20 | <div class="row"> | ... | ... |