fix: show recipe author with profile link on the recipe view page
/recipes/[id] never queried or displayed author info at all — viewing
someone else's public/unlisted recipe gave no way to see or visit
whoever wrote it. Add the author relation to the query and render an
avatar + "by {name}" link to /u/[username] under the title (hidden for
the owner's own recipes).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
"mention": "{name} mentioned you in a comment"
|
||||
},
|
||||
"recipe": {
|
||||
"byAuthor": "by {name}",
|
||||
"source": "Source",
|
||||
"share": "Share",
|
||||
"shareLinkCopied": "Link copied to clipboard",
|
||||
|
||||
Reference in New Issue
Block a user