Fix stacktrace when groups is not defined
This commit is contained in:
parent
46abdc9120
commit
9170607b0f
@ -76,6 +76,7 @@
|
||||
|
||||
<dt class="col-2">Groupes</dt>
|
||||
<dd class="col-10">
|
||||
{#if student.groups}
|
||||
<ul ng-if="student.groups">
|
||||
{#each student.groups.split(',').slice(1) as g, gid (gid)}
|
||||
<li>
|
||||
@ -83,6 +84,7 @@
|
||||
</li>
|
||||
{/each}
|
||||
</ul>
|
||||
{/if}
|
||||
</dd>
|
||||
|
||||
<dt class="col-2">Admin</dt>
|
||||
|
Reference in New Issue
Block a user