diff --git a/web/src/lib/components/repo/pulls/PullCommitRow.svelte b/web/src/lib/components/repo/pulls/PullCommitRow.svelte index 77eb9cc4b..475359a03 100644 --- a/web/src/lib/components/repo/pulls/PullCommitRow.svelte +++ b/web/src/lib/components/repo/pulls/PullCommitRow.svelte @@ -7,7 +7,6 @@ import Link from "$lib/components/ui/Link.svelte"; import Separator from "$lib/components/ui/Separator.svelte"; import Tag from "$lib/components/ui/Tag.svelte"; - import User from "$lib/components/ui/User.svelte"; import PipelineWorkflows from "$lib/components/repo/pipelines/PipelineWorkflows.svelte"; import type { CommitSummary } from "$lib/components/repo/types"; @@ -34,40 +33,34 @@ const short = (id: string) => id.slice(0, 8); -
+
- {#if commit.authorHandle && commit.authorDid} - - - - {:else if commit.authorName && commit.authorEmail && !commit.authorDid} - - - - {:else if commit.authorName} - {commit.authorName} - {/if} -
- - {commit.shortHash} - - {#if commit.changeId} - {short(commit.changeId)} +
+
+ + {commit.shortHash} + + {#if commit.changeId} + {short(commit.changeId)} + {/if} +
+ {#if commit.authorHandle && commit.authorDid} + + + + {:else} + {/if} -
-
- {commit.subject} + {commit.subject}
{#if commit.body}