Hide student id element if no id present
This commit is contained in:
@@ -104,7 +104,9 @@
|
||||
/>
|
||||
<div class="text-sm">
|
||||
<p class="font-semibold">{student.profile.fullname}</p>
|
||||
<p>{`#${student.assigned_student_id}` || '-'}</p>
|
||||
{#if student.assigned_student_id}
|
||||
<p>#{student.assigned_student_id}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{#each $lessons as lesson}
|
||||
|
||||
Reference in New Issue
Block a user