github.com/hernad/nomad@v1.6.112/ui/app/templates/components/region-switcher.hbs (about) 1 {{! 2 Copyright (c) HashiCorp, Inc. 3 SPDX-License-Identifier: MPL-2.0 4 ~}} 5 6 {{keyboard-commands this.keyCommands}} 7 8 {{#if this.system.shouldShowRegions}} 9 <span data-test-region-switcher-parent> 10 <PowerSelect 11 data-test-region-switcher 12 @tagName="div" 13 @triggerClass={{this.decoration}} 14 @options={{this.sortedRegions}} 15 @selected={{this.system.activeRegion}} 16 @searchEnabled={{false}} 17 @onChange={{action this.gotoRegion}} as |region|> 18 <span class="ember-power-select-prefix">Region: </span>{{region}} 19 </PowerSelect> 20 </span> 21 {{/if}}