Skip to content

Follower counter issue #5368

@0tia0

Description

@0tia0

Please confirm the following.

What browsers are you seeing the problem on?

Chrome (including Arc, Brave, Opera, Vivaldi)

Describe the bug

Bug: Follower counter on personal projects

Description

When I create a personal project on the site that has 0 followers and follow it, the counter does not increase.
However, if I then unfollow the project, the counter goes down to -1, which should not happen.

Notes

  • Tested only on personal projects, not on projects of other users.
Image

Steps to reproduce

  1. Create a personal project with 0 followers.
  2. Follow your own project.
  3. Notice the counter remains at 0.
  4. Unfollow the project.
  5. Notice the counter becomes -1.

Expected behavior

  • Following the project should increase the counter to 1.
  • Unfollowing should bring it back to 0, never negative.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    websiteRelates to Modrinth.com web frontend

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions