Skip to content

Conversation

@ComplementaryPogo
Copy link
Contributor

@ComplementaryPogo ComplementaryPogo commented Dec 31, 2025

Fix logic error when no areas match viewport

For a user who only has permission to view pokemon in a specific Area, if the viewport is loaded OUTSIDE that area entirely, the old logic would result in the original boundaries being returned, and the pokemon would load despite the user not having permission for that area:

Before:
Screenshot 2025-12-31 at 2 43 54 AM

After:
Screenshot 2025-12-31 at 2 11 08 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant