The user profile follow button always shows "Follow", never "Unfollow" #29820
Labels
issue/regression
Indicates a previously functioning feature or behavior that has broken or regressed after a change
skip-changelog
This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.
type/bug
Milestone
Description
To determine the string, the template looks at
$.IsFollowing
. See:gitea/templates/shared/user/profile_big_avatar.tmpl
Line 120 in 6692894
Since #29248, the
IsFollowing
parameter is never set as the line that set it was deleted. The relevant diffGitea Version
Current main
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
It doesn't matter
Database
SQLite
The text was updated successfully, but these errors were encountered: