Skip to content

Commit

Permalink
fix: acctivity for missing credential
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebus-84 committed May 31, 2024
1 parent 16e32ff commit f8807f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/routes/[[lang]]/(protected)/activity/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
{#if activity.type === 'credential'}
{@const credential = credentials?.find((cred) => cred.id === activity.id)}
{#if !credential}
{log(`credential ${activity.id} not found`)}
<div class="hidden">
{log(`credential ${activity.id} not found`)}
</div>
{:else}
<div class="itens-start border-strocke flex gap-4 border-b py-2">
<d-avatar src={credential.logo} name={credential.display_name} shape="square" />
Expand Down

0 comments on commit f8807f5

Please sign in to comment.