[PR #977] fix: show only country in audit log location if no city instead of Unknown #519

Closed
opened 2025-10-07 00:17:51 +03:00 by OVERLORD · 0 comments
Owner

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.

**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.
OVERLORD added the pull-request label 2025-10-07 00:17:51 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#519