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:
parent
4b159ba0b7
commit
2e80a720af
1 changed files with 3 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue