mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 13:12:58 +03:00
[PR #977] [MERGED] fix: show only country in audit log location if no city instead of Unknown #536
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?
📋 Pull Request Information
Original PR: https://github.com/pocket-id/pocket-id/pull/977
Author: @vilisseranen
Created: 9/22/2025
Status: ✅ Merged
Merged: 9/24/2025
Merged by: @kmendell
Base:
main← Head:unknown_location_when_no_city📝 Commits (2)
f7eac03Show only country in audit log location if no city7fa632fUpdate audit-log-list.svelte📊 Changes
1 file changed (+9 additions, -3 deletions)
View changed files
📝
frontend/src/lib/components/audit-log-list.svelte(+9 -3)📄 Description
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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.