Table header checkbox disappears when no nodes available.

If no nodes are available, the checkbox in the table header
disappears.

Change-Id: Ib9350b562f45ea80f3c151f8584d45a45620c87e
This commit is contained in:
Michael Krotscheck 2016-03-31 12:10:40 -07:00
parent 741a5020a4
commit c45ca3c82e
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@
<th><input type="checkbox"
ng-model="nodeListCtrl.selectAll"
ng-change="nodeListCtrl.toggleSelectAll(nodeListCtrl.selectAll)"
ng-if="nodeListCtrl.nodes.length > 0"
/></th>
<th>UUID</th>
<th>Name</th>