backend: use a new team field 'active', to avoid some team generation

This commit is contained in:
nemunaire 2019-01-21 02:35:03 +01:00
commit 48fcfec0d0
5 changed files with 31 additions and 12 deletions

View file

@ -15,7 +15,7 @@
</tr>
</thead>
<tbody>
<tr ng-repeat="team in teams | filter: query" ng-click="show(team.id)">
<tr ng-repeat="team in teams | filter: query" ng-click="show(team.id)" ng-class="{'bg-warning': !team.active}">
<td ng-repeat="field in fields">
{{ team[field] }}
</td>