We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e518ad commit c1a3179Copy full SHA for c1a3179
resources/views/md/comment.blade.php
@@ -1,3 +1,6 @@
1
@include('github-project::md.shared.content', compact('payload'))
2
3
-@include('github-project::md.shared.author', compact('payload'))
+@include('github-project::md.shared.author', [
4
+ 'name' => $payload['sender']['login'] ?? 'Unknown',
5
+ 'html_url' => $payload['sender']['html_url'] ?? '#'
6
+])
resources/views/md/shared/author.blade.php
@@ -1 +1 @@
-Made changes by: [{{ $payload['sender']['login'] ?? 'Unknown' }}]({{ $payload['sender']['html_url'] ?? '#' }})
+Made changes by: [{{ $name }}]({{ $html_url }})
0 commit comments