previous fix wasn't right, need to check for lack of both resources

This commit is contained in:
Westly Wright 2018-09-17 12:18:41 -07:00
parent 782c74772c
commit ce895604dc
No known key found for this signature in database
GPG Key ID: 4FAB3D8673DC54A3
1 changed files with 7 additions and 3 deletions

View File

@ -16,7 +16,11 @@
{{#if (eq kind "row")}}
<tr class="main-row">
<td valign="middle" class="row-check" style="padding-top: 2px;">
{{#if (and projectsWithoutNamespace.length (not model.length))}}
&nbsp;
{{else}}
{{check-box nodeId=ns.id}}
{{/if}}
</td>
<td>
{{badge-state model=ns}}