diff --git a/.changelog/11380.txt b/.changelog/11380.txt
new file mode 100644
index 0000000000..7d18cb63e3
--- /dev/null
+++ b/.changelog/11380.txt
@@ -0,0 +1,3 @@
+```release-note:bug
+ui: Ensure dc selector correctly shows the currently selected dc
+```
diff --git a/ui/packages/consul-partitions/app/components/consul/partition/selector/index.hbs b/ui/packages/consul-partitions/app/components/consul/partition/selector/index.hbs
index 078f360359..288e7af91e 100644
--- a/ui/packages/consul-partitions/app/components/consul/partition/selector/index.hbs
+++ b/ui/packages/consul-partitions/app/components/consul/partition/selector/index.hbs
@@ -1,4 +1,4 @@
-{{#if (can "choose partitions")}}
+{{#if (can "choose partitions" dc=@dc)}}
+{{else}}
+
+ {{@partition}}
+
{{/if}}
diff --git a/ui/packages/consul-ui/app/abilities/partition.js b/ui/packages/consul-ui/app/abilities/partition.js
index 034907ab3d..8756ba3b02 100644
--- a/ui/packages/consul-ui/app/abilities/partition.js
+++ b/ui/packages/consul-ui/app/abilities/partition.js
@@ -20,7 +20,10 @@ export default class PartitionAbility extends BaseAbility {
}
get canChoose() {
- return this.canUse;
+ if(typeof this.dc === 'undefined') {
+ return false;
+ }
+ return this.canUse && this.dc.Primary;
}
get canUse() {
diff --git a/ui/packages/consul-ui/app/components/consul/intention/form/fieldsets/index.hbs b/ui/packages/consul-ui/app/components/consul/intention/form/fieldsets/index.hbs
index 4d9dd03065..8150068323 100644
--- a/ui/packages/consul-ui/app/components/consul/intention/form/fieldsets/index.hbs
+++ b/ui/packages/consul-ui/app/components/consul/intention/form/fieldsets/index.hbs
@@ -51,7 +51,7 @@
{{/if}}
{{/if}}
- {{#if (can 'choose partitions')}}
+ {{#if (can 'choose partitions' dc=@dc)}}