mirror of https://github.com/rancher/ui.git
previous fix wasn't right, need to check for lack of both resources
This commit is contained in:
parent
782c74772c
commit
ce895604dc
|
|
@ -15,9 +15,13 @@
|
||||||
}}
|
}}
|
||||||
{{#if (eq kind "row")}}
|
{{#if (eq kind "row")}}
|
||||||
<tr class="main-row">
|
<tr class="main-row">
|
||||||
<td valign="middle" class="row-check" style="padding-top: 2px;">
|
<td valign="middle" class="row-check" style="padding-top: 2px;">
|
||||||
{{check-box nodeId=ns.id}}
|
{{#if (and projectsWithoutNamespace.length (not model.length))}}
|
||||||
</td>
|
|
||||||
|
{{else}}
|
||||||
|
{{check-box nodeId=ns.id}}
|
||||||
|
{{/if}}
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{badge-state model=ns}}
|
{{badge-state model=ns}}
|
||||||
</td>
|
</td>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue