Hide student id element if no id present

This commit is contained in:
Rotimi Best
2021-10-04 05:38:11 +00:00
committed by Space
parent 0384c9cfc5
commit 8745769f70
+3 -1
View File
@@ -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}