- Add proper array length checks before accessing error.errors[0]
- Secure error handling in App.tsx for both map loading and layer loading
- Fix unsafe array access in mapApi.ts error handler
- Prevent crashes when error.errors is undefined or empty array
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Claude <noreply@anthropic.com>
* use api config everywhere, default to localhost, ignore .env file, provide .env.dist
* fix lint
* make mapUrl configurable
---------
Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
* Add component to show invite link (WIP)
* Show invite link with copy functionality and QR-Code, add tests
* Query secrets
* Update directus collections
* Add config and invite api
* Let vite resolve paths using tsconfig
* Redeem invite link when logged in or after logging in
* Redirect to inviting profile when redeeming
* Fix some logic with login and redeeming
* Use correct redeem flow
* Hide missing form error
* Add basic relations view
* Pass profile to redeem Api and adapt to changed redeem flow
* Remove unnecessary aliases in vite config
* Remove dead import
* gitignore mac specific file
* Remove lazy loading
* Fix linting
* add InviteApi import
* Change case of file name (tbd)
* Don't toast error if user profile was not loaded yet
* Fix casing
* avoid app crash when profile of a new item is opened
---------
Co-authored-by: Anton Tranelis <mail@antontranelis.de>
* add close button to custom info modal
* added attribution
* fix build examples workflow
* fix pending tests
* Revert "add close button to custom info modal"
This reverts commit 835c661009abbdc5c095a6bc86bbd6890e080e5f.
* Update directus collections
* item_secrets is not a collection we call via directus client
---------
Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>