github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/templates/components/region-switcher.hbs (about)

     1  {{#if this.system.shouldShowRegions}}
     2    <span data-test-region-switcher-parent>
     3      <PowerSelect
     4        data-test-region-switcher
     5        @tagName="div"
     6        @triggerClass={{this.decoration}}
     7        @options={{this.sortedRegions}}
     8        @selected={{this.system.activeRegion}}
     9        @searchEnabled={{false}}
    10        @onChange={{action this.gotoRegion}} as |region|>
    11        <span class="ember-power-select-prefix">Region: </span>{{region}}
    12      </PowerSelect>
    13    </span>
    14  {{/if}}