diff --git a/web/src/lib/components/repo/CommitList.svelte b/web/src/lib/components/repo/CommitList.svelte index 9a7acb3f..8b56864e 100644 --- a/web/src/lib/components/repo/CommitList.svelte +++ b/web/src/lib/components/repo/CommitList.svelte @@ -63,7 +63,30 @@ {commit.shortHash} {#if commit.authorName} - + + {@const authorDid = commit.authorEmail.startsWith("did:") + ? commit.authorEmail + : undefined} + {#if authorDid} + + + + {:else if commit.authorEmail} + + + + {:else} + + {/if} {/if} {#if commit.when}