Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: Fix sticky namespace selector (#11830)
When adding a namespace via the UI, the app model which contains a list of namespace isn't refreshed. This means when we use the same list after adding a namespace to search for the namespace that is contained in the URL, if that namespace in the URL is the new one, its is not found, and therefore the menu does not get 'selected' properly, leaving a default selection of 'default' This commit instead uses peekAll of the Ember Data store to access the entire list of cached namespaces instead of using the now stale app.nspaces one.
- Loading branch information