app/components/katalyst/tables/cell_component.rb in katalyst-tables-3.5.4 vs app/components/katalyst/tables/cell_component.rb in katalyst-tables-3.5.5
- old
+ new
@@ -42,10 +42,10 @@
label
else
rendered_value
end
- content = @content_wrapper.with_content(content).render_in(view_context) if @content_wrapper
+ content = @content_wrapper.with_content(content.to_s).render_in(view_context) if @content_wrapper
concat(content_tag(cell_tag, content, **html_attributes))
end
# Return the rendered and sanitized label for the column.