Fix LiveView crash by correcting render_symbol_html syntax

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 <noreply@anthropic.com>
This commit is contained in:
Graham McIntire 2025-07-18 14:47:37 -05:00
parent 4b159ba0b7
commit 2e80a720af
No known key found for this signature in database

View file

@ -34,7 +34,7 @@
else:
"#{AprsmeWeb.AprsSymbol.normalize_symbol_table(symbol_table)}#{AprsmeWeb.AprsSymbol.normalize_symbol_code(symbol_code)}" %>
<div title={display_symbol}>
{render_symbol_html(@packet)}
<%= render_symbol_html(@packet) %>
</div>
<% end %>
</div>
@ -349,7 +349,7 @@
else:
"#{AprsmeWeb.AprsSymbol.normalize_symbol_table(symbol_table)}#{AprsmeWeb.AprsSymbol.normalize_symbol_code(symbol_code)}" %>
<div title={display_symbol}>
{render_symbol_html(ssid_info.packet)}
<%= render_symbol_html(ssid_info.packet) %>
</div>
<% end %>
</div>
@ -452,7 +452,7 @@
else:
"#{AprsmeWeb.AprsSymbol.normalize_symbol_table(symbol_table)}#{AprsmeWeb.AprsSymbol.normalize_symbol_code(symbol_code)}" %>
<div title={display_symbol}>
{render_symbol_html(neighbor.packet)}
<%= render_symbol_html(neighbor.packet) %>
</div>
<% end %>
</div>