From be3a588e400e4ada37b2097769f423e2ca89be9d Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Mon, 5 Jan 2026 13:48:59 -0600 Subject: [PATCH] Fix boolean attribute rendering for traffic graph --- lib/towerops_web/live/graph_live/show.html.heex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/towerops_web/live/graph_live/show.html.heex b/lib/towerops_web/live/graph_live/show.html.heex index 33a1295a..a7ff5a16 100644 --- a/lib/towerops_web/live/graph_live/show.html.heex +++ b/lib/towerops_web/live/graph_live/show.html.heex @@ -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;" >