John Cowen 76f5de1455
ui: Ensure dc selector correctly shows the currently selected dc (#11380)
* ui: Ensure dc selector correctly shows the currently selected dc

* ui: Restrict access to non-default partitions in non-primaries (#11420)

This PR restricts access via the UI to only the default partition when in a non-primary datacenter i.e. you can only have multiple (non-default) partitions in the primary datacenter.
2021-10-26 19:26:04 +01:00

18 lines
519 B
Handlebars

{{did-insert this.connect}}
{{will-destroy this.disconnect}}
<section
{{did-insert (fn this.attributeChanged 'element')}}
{{did-update (fn this.attributeChanged 'model' @model)}}
class="outlet"
data-outlet={{@name}}
data-route={{this.routeName}}
data-state={{this.state.name}}
data-transition={{concat this.previousState.name ' ' this.state.name}}
{{on 'transitionend' this.transitionEnd}}
>
{{yield (hash
state=this.state
previousState=this.previousState
route=this.route
)}}
</section>