show unregistered persons only if a filter is present
This commit is contained in:
parent
ac8cdc24b4
commit
a9b120290c
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr ng-repeat="person in allPersons | splittedFilter:query | personRegistered:{event: event, present: false}">
|
<tr ng-repeat="person in (query ? allPersons : []) | splittedFilter:query | personRegistered:{event: event, present: false}">
|
||||||
<td>
|
<td>
|
||||||
<strong>{{person.name}} {{person.surname}}</strong>
|
<strong>{{person.name}} {{person.surname}}</strong>
|
||||||
<br />
|
<br />
|
||||||
|
|
Loading…
Reference in a new issue