Skip to content

The user profile follow button always shows "Follow", never "Unfollow" #29820

Closed
@yardenshoham

Description

@yardenshoham

Description

To determine the string, the template looks at $.IsFollowing. See:

Since #29248, the IsFollowing parameter is never set as the line that set it was deleted. The relevant diff

Gitea Version

Current main

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

demo

Git Version

No response

Operating System

No response

How are you running Gitea?

It doesn't matter

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/regressionIndicates a previously functioning feature or behavior that has broken or regressed after a changeskip-changelogThis PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.type/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions