The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
fix(admin): stop asking for OIDC config where the route is closed
Mauricea6c27aac5162
diff --git a/client/src/pages/admin/useAdmin.ts b/client/src/pages/admin/useAdmin.tsindex ab7fcf40e..2f7cda5af 100644--- a/client/src/pages/admin/useAdmin.ts+++ b/client/src/pages/admin/useAdmin.ts@@ -121,7 +121,11 @@ export function useAdmin() {loadData()loadAppConfig()loadApiKeys()- adminApi.getOidc().then(setOidcConfig).catch(() => {})+ // Skipped rather than caught when the route is closed to us: the request+ // still reaches the network, still answers 403, and still prints a red line+ // in the console of every admin who opens this page. Swallowing the promise+ // hides it from the code, not from the reader.+ if (!managed) adminApi.getOidc().then(setOidcConfig).catch(() => {})// The operator decides when this instance upgrades, so there is nothing to// check and nothing the admin could act on.if (managed) return