diff --git a/.changelog/11656.txt b/.changelog/11656.txt new file mode 100644 index 0000000000..10dc472850 --- /dev/null +++ b/.changelog/11656.txt @@ -0,0 +1,3 @@ +```release-note:feature +ui: Don't offer a 'Valid Datacenters' option when editing policies for non-default partitions +``` diff --git a/ui/packages/consul-ui/app/components/policy-form/index.hbs b/ui/packages/consul-ui/app/components/policy-form/index.hbs index 3fe65ac9bd..61e2fa9081 100644 --- a/ui/packages/consul-ui/app/components/policy-form/index.hbs +++ b/ui/packages/consul-ui/app/components/policy-form/index.hbs @@ -105,6 +105,8 @@ {{else}} +{{! only show Valid Datacenters for the default partition }} +{{#if (eq (or partition 'default') 'default')}}
Valid datacenters
+{{/if}} {{#if isScoped }}