Fix context bug (#22940)

Fix https://try.gitea.io/wxiaoguang/test/issues/19
This commit is contained in:
Lunny Xiao authored and GitHub committed 2023-02-16 11:20:53 -06:00
1 parent aa45777c92
commit f196da12db
1 file changed
+1 -1
@@ -213,7 +213,7 @@
{{end}}
</span>
{{else}}
{{template "shared/user/avatarlink" "user" .Assignee}}
{{template "shared/user/avatarlink" Dict "Context" $.Context "user" .Assignee}}
<span class="text grey muted-links">
{{template "shared/user/authorlink" .Assignee}}
{{if eq .Poster.ID .AssigneeID}}