CLASSROOMIO-T-27: Hide editing and saving for students
This commit is contained in:
@@ -162,16 +162,20 @@
|
|||||||
{:else}
|
{:else}
|
||||||
<div class="student-id flex items-center justify-between relative">
|
<div class="student-id flex items-center justify-between relative">
|
||||||
<p class="w-11/12">{person.assigned_student_id || '-'}</p>
|
<p class="w-11/12">{person.assigned_student_id || '-'}</p>
|
||||||
<div class="absolute {!isStudent && 'edit-btn'}">
|
{#if !isStudent}
|
||||||
<IconButton onClick={() => handleEditStudentIdMode(person.id)}>
|
<div class="absolute edit-btn">
|
||||||
<Edit16 class="carbon-icon active" />
|
<IconButton
|
||||||
</IconButton>
|
onClick={() => handleEditStudentIdMode(person.id)}
|
||||||
<IconButton
|
>
|
||||||
onClick={() => copyToClipboard(person.assigned_student_id)}
|
<Edit16 class="carbon-icon active" />
|
||||||
>
|
</IconButton>
|
||||||
<Copy16 class="carbon-icon active" />
|
<IconButton
|
||||||
</IconButton>
|
onClick={() => copyToClipboard(person.assigned_student_id)}
|
||||||
</div>
|
>
|
||||||
|
<Copy16 class="carbon-icon active" />
|
||||||
|
</IconButton>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
<!-- <span class="flex-grow" /> -->
|
<!-- <span class="flex-grow" /> -->
|
||||||
|
|||||||
Reference in New Issue
Block a user