Skip to content

Commit

Permalink
fix(template): fix wrong user link in template #969
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkinStars committed Jun 18, 2024
1 parent 5dc79e6 commit 245b532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/template/question-detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h1 class="h3 mb-3 text-wrap text-break">
</div>
<div class="col-lg-3">
<div class="d-flex">
<a href="{{$.baseURL}}/users/{{.UserInfo.Username}}"><img
<a href="{{$.baseURL}}/users/{{.detail.UserInfo.Username}}"><img
src="{{.detail.UserInfo.Avatar}}"
width="40px" height="40px"
class="rounded me-2 d-none d-md-block"
Expand Down

0 comments on commit 245b532

Please sign in to comment.