From 2e80a720af8399baca72faa2f7516bdaaa13c6f8 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Fri, 18 Jul 2025 14:47:37 -0500 Subject: [PATCH] Fix LiveView crash by correcting render_symbol_html syntax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change from {render_symbol_html(...)} to <%= render_symbol_html(...) %> in three places where APRS symbols are rendered. This fixes the 'view crashed - undefined' error on the info page. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- lib/aprsme_web/live/info_live/show.html.heex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/aprsme_web/live/info_live/show.html.heex b/lib/aprsme_web/live/info_live/show.html.heex index 4fdc6ae..fdebfc8 100644 --- a/lib/aprsme_web/live/info_live/show.html.heex +++ b/lib/aprsme_web/live/info_live/show.html.heex @@ -34,7 +34,7 @@ else: "#{AprsmeWeb.AprsSymbol.normalize_symbol_table(symbol_table)}#{AprsmeWeb.AprsSymbol.normalize_symbol_code(symbol_code)}" %>
- {render_symbol_html(@packet)} + <%= render_symbol_html(@packet) %>
<% end %> @@ -349,7 +349,7 @@ else: "#{AprsmeWeb.AprsSymbol.normalize_symbol_table(symbol_table)}#{AprsmeWeb.AprsSymbol.normalize_symbol_code(symbol_code)}" %>
- {render_symbol_html(ssid_info.packet)} + <%= render_symbol_html(ssid_info.packet) %>
<% end %> @@ -452,7 +452,7 @@ else: "#{AprsmeWeb.AprsSymbol.normalize_symbol_table(symbol_table)}#{AprsmeWeb.AprsSymbol.normalize_symbol_code(symbol_code)}" %>
- {render_symbol_html(neighbor.packet)} + <%= render_symbol_html(neighbor.packet) %>
<% end %>