diff --git a/app/views/custom_table/_table.html.haml b/app/views/custom_table/_table.html.haml index ed61961..46370c0 100644 --- a/app/views/custom_table/_table.html.haml +++ b/app/views/custom_table/_table.html.haml @@ -18,7 +18,7 @@ - fields = fields.except(*local_assigns[:skip_fields]) if !local_assigns[:skip_fields].nil? -%div.table-wrapper.overflow-x-scroll{data: {controller: "batch-actions"}} +%div.table-wrapper{data: {controller: "batch-actions"}} - if local_assigns[:batch_actions] = self.send(local_assigns[:batch_actions])