mirror of https://github.com/rancher/ui.git
only show other roles if present on mc apps
This commit is contained in:
parent
d5806915bf
commit
3661255133
|
|
@ -23,17 +23,19 @@
|
|||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col span-6">
|
||||
<label class="acc-label">
|
||||
{{t "newMultiClusterApp.roles.additionalRoles"}}
|
||||
</label>
|
||||
<table class="table fixed no-lines mt-5 mb-10">
|
||||
<tbody>
|
||||
{{#each otherRoles as |role|}}
|
||||
<tr>
|
||||
<td>{{role}}</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{#if otherRoles.length}}
|
||||
<div class="col span-6">
|
||||
<label class="acc-label">
|
||||
{{t "newMultiClusterApp.roles.additionalRoles"}}
|
||||
</label>
|
||||
<table class="table fixed no-lines mt-5 mb-10">
|
||||
<tbody>
|
||||
{{#each otherRoles as |role|}}
|
||||
<tr>
|
||||
<td>{{role}}</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{/if}}
|
||||
Loading…
Reference in New Issue