mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 17:23:22 +03:00
[PR #977] fix: show only country in audit log location if no city instead of Unknown #519
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/pocket-id/pocket-id/pull/977
State: closed
Merged: Yes
Relates to https://github.com/pocket-id/pocket-id/issues/956
When an IP is geolocated but only the country information is available (no city), the UI currently displays the location as unknown. This PR changes this behavior to display the country if it is available but the city is not.