mirror of
https://github.com/zvx-echo6/navi.git
synced 2026-05-20 22:54:42 +02:00
fix: resolve 5 confirmed bugs from code review
- MapView.jsx: extract addBoundaryLayer function, use getComputedStyle for accent color (MapLibre rejects CSS vars in paint properties) - PlaceCard.jsx: gate fetchNearbyContacts on auth.authenticated - PlaceDetail.jsx: gate fetchNearbyContacts on auth.authenticated - api.js: replace invalid timeout option with AbortSignal.timeout() - RadialMenu.jsx: remove user-select from SVG style (Firefox rejects) - Panel.jsx: add Cancel button for pending directions state
This commit is contained in:
parent
0d4a807a05
commit
a40f68fa26
39 changed files with 728 additions and 21085 deletions
|
|
@ -551,7 +551,7 @@ export default function PlaceDetail() {
|
|||
|
||||
// Fetch nearby contacts for proximity annotation
|
||||
useEffect(() => {
|
||||
if (!hasFeature('has_contacts') || placeLat == null || placeLon == null) {
|
||||
if (!hasFeature('has_contacts') || !auth.authenticated || placeLat == null || placeLon == null) {
|
||||
setNearbyLabel(null)
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue