Skip to content

Commit c1a3179

Browse files
committed
fix: update author display in comment view
1 parent 9e518ad commit c1a3179

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
@include('github-project::md.shared.content', compact('payload'))
22

3-
@include('github-project::md.shared.author', compact('payload'))
3+
@include('github-project::md.shared.author', [
4+
'name' => $payload['sender']['login'] ?? 'Unknown',
5+
'html_url' => $payload['sender']['html_url'] ?? '#'
6+
])
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Made changes by: [{{ $payload['sender']['login'] ?? 'Unknown' }}]({{ $payload['sender']['html_url'] ?? '#' }})
1+
Made changes by: [{{ $name }}]({{ $html_url }})

0 commit comments

Comments
 (0)