Skip to content

fixed loading of leaflet, no more duplicate initializations#73

Merged
roncodes merged 2 commits intomainfrom
dev-v0.2.32
Oct 2, 2024
Merged

fixed loading of leaflet, no more duplicate initializations#73
roncodes merged 2 commits intomainfrom
dev-v0.2.32

Conversation

@roncodes
Copy link
Member

@roncodes roncodes commented Oct 2, 2024

No description provided.

@roncodes roncodes merged commit 0c1ff91 into main Oct 2, 2024
@roncodes roncodes deleted the dev-v0.2.32 branch October 2, 2024 07:52
roncodes pushed a commit that referenced this pull request Feb 24, 2026
Changes:
- Import lookupUserIp utility from @fleetbase/ember-core
- Replace backend fetch.get('lookup/whois') with frontend lookupUserIp()
- Update error handling and debug messages

This fixes the issue where phone-input was getting server IP location
instead of user IP location. Now uses the new frontend IP lookup utility
that correctly returns the user's actual location.

Benefits:
- Accurate country code detection for phone number formatting
- Faster lookup (1 network hop vs 2)
- No backend dependency
- Consistent with other components using currentUser.whois cache

Depends on: fleetbase/ember-core PR #73 (frontend IP lookup utility)
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