We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f03f2e1 commit ba05bd5Copy full SHA for ba05bd5
1 file changed
ui/packages/consul-ui/app/components/hashicorp-consul/index.hbs
@@ -133,14 +133,16 @@
133
@dcs={{@dcs}}
134
/>
135
136
- <Consul::Partition::Selector
137
- @dc={{@dc}}
138
- @partition={{@partition}}
139
- @nspace={{@nspace}}
140
- @partitions={{this.partitions}}
141
- @list={{SNL}}
142
- @onchange={{action (mut this.partitions) value='data'}}
143
- />
+ {{#if (can 'use partitions')}}
+ <Consul::Partition::Selector
+ @dc={{@dc}}
+ @partition={{@partition}}
+ @nspace={{@nspace}}
+ @partitions={{this.partitions}}
+ @list={{SNL}}
+ @onchange={{action (mut this.partitions) value='data'}}
144
+ />
145
+ {{/if}}
146
<Consul::Nspace::Selector
147
@list={{SNL}}
148
@dc={{@dc}}
0 commit comments