Skip to content

Commit

Permalink
Fix/custom scorers (#313)
Browse files Browse the repository at this point in the history
* Fix the scorer picker for custom scorers

* Don't think this is needed
  • Loading branch information
worleydl authored Apr 7, 2021
1 parent e4eda5a commit a7bd0e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/assets/templates/views/pick_scorer.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ <h4>Select from defaults:</h4>
</ul>

<div ng-show="!communalScorersOnly"><h4>Or select from your own custom scorers:</h4></div>
{{ userScorers }}
<ul class="list-group">
<li class="list-group-item"
ng-repeat="scorer in userScorers track by scorer.scorerId"
ng-repeat="scorer in scorers track by scorer.scorerId"
ng-class="{ active: scorer.scorerId === activeScorer.scorerId }"
ng-click="selectScorer(scorer)">
{{scorer.name}}
Expand Down

0 comments on commit a7bd0e1

Please sign in to comment.