Files
discourse/frontend
Régis Hanol 8830c1bb32 FIX: API key scopes display and navigation issues (#36844)
Two issues were occurring with the admin API keys page:

1. Clicking "Edit" on an API key in the list failed to navigate properly
because the full apiKey object was passed to the route instead of just
the ID.

2. Viewing an API key with scopes would error when a scope's
allowed_parameters was null/undefined, as the template tried to call
`get` on a nullish value.

**BEFORE**

https://github.com/user-attachments/assets/a1c3a54f-7d26-4498-95e3-fd734b2e9a61

**AFTER**

https://github.com/user-attachments/assets/d560a189-566f-4f85-a76a-266b9ac95bed
2025-12-23 17:56:12 +01:00
..