mirror of
https://github.com/kemko/nomad.git
synced 2026-01-02 00:15:43 +03:00
* ui: show region in header gutter when only one region exists This PR adds a plain text label of the region to the header when there is only one region present. Before, nothing was showin in this case, and a dropdown was shown on federated clusters. The use case here is for operators of multiple non-federated Nomad clusters, when all the UI's involved otherwise look identical. * [ui] Signing in with a token explicitly sets the region dropdown activeRegion (#24347) * Signing in with a token explicitly sets the region dropdown activeREgion * Test and Select a Region default text * Account for 403 on mocked agent members req * Dont show the region if it isnt set in agent config * Small padding css change * unit test condition moved to stubbable acceptance test --------- Co-authored-by: Phil Renaud <phil.renaud@hashicorp.com>