Fix boolean attribute rendering for traffic graph

This commit is contained in:
Graham McIntire 2026-01-05 13:48:59 -06:00
parent 4242044cbd
commit be3a588e40
No known key found for this signature in database

View file

@ -50,8 +50,8 @@
phx-hook="SensorChart"
data-chart={@chart_data}
data-unit={@unit}
data-auto-scale={@auto_scale}
data-show-zero-line={@show_zero_line}
data-auto-scale={to_string(@auto_scale)}
data-show-zero-line={to_string(@show_zero_line)}
style="height: 600px;"
>
<canvas></canvas>