Skip to content

Commit

Permalink
fix: remove student number from public-facing interface (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
BastiDood authored Aug 16, 2024
2 parents 41857e2 + af6ff03 commit 65f3694
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/src/routes/dashboard/lab/Member.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// eslint-disable-next-line init-declarations
export let user: QueriedLabMembers[number];
$: ({ email, given_name, family_name, avatar, student_number } = user);
$: ({ email, given_name, family_name, avatar } = user);
</script>

<a href="mailto:{email}">
Expand All @@ -15,9 +15,6 @@
{#if given_name.length > 0 && family_name.length > 0}
<strong><span class="uppercase">{family_name}</span>, {given_name}</strong>
{/if}
{#if student_number !== null}
<span class="text-xs opacity-50">{student_number}</span>
{/if}
<span class="text-xs opacity-50">{email}</span>
</span>
</a>

0 comments on commit 65f3694

Please sign in to comment.