diff --git a/share/templates/helpers/datatables.tt b/share/templates/helpers/datatables.tt index 686447a860..50ec65ef4f 100644 --- a/share/templates/helpers/datatables.tt +++ b/share/templates/helpers/datatables.tt @@ -35,7 +35,7 @@ $(document).ready(function() { '' + ' Delete' + '' + - [%- IF helper.extra_buttons.size > 0 %] + [%- IF helper.extra_buttons.size %] [% FOR b IN helper.extra_buttons %] '' +