Permalink
Browse files

fix(customActions): should show action column with custom actions

  • Loading branch information...
jeremyvergnas committed Jun 28, 2016
1 parent 5da39f2 commit bc5157683d430fb73f52c85982a8c97249079703
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/bootstrap/datatable.html
@@ -43,7 +43,7 @@
</th>
<!-- Actions -->
<th if.bind="destroy != null || edit != null" t="Actions">Actions</th>
<th if.bind="destroy != null || edit != null || actions.length > 0" t="Actions">Actions</th>
</tr>
</thead>
<tbody>
@@ -55,7 +55,7 @@
</td>
<!-- Actions -->
<td style="white-space: nowrap; width: 1px;" if.bind="destroy !== null || edit !== null">
<td style="white-space: nowrap; width: 1px;" if.bind="destroy !== null || edit !== null || actions.length > 0">
<button if.bind="edit !== null" class="btn btn-sm btn-white" click.delegate="doEdit(row)">
<i class="fa fa-pencil"></i>
</button>

0 comments on commit bc51576

Please sign in to comment.