Fix crash when packet can not decode.

This commit is contained in:
Jason Michalski
2024-06-09 20:56:51 -07:00
parent 7a1f327a2c
commit 7205fabed5
+1 -1
View File
@@ -42,7 +42,7 @@
{% if packet.pretty_payload %}
<div>{{packet.pretty_payload}}<div>
{% endif %}
{% if packet.raw_mesh_packet.decoded.portnum == 70 %}
{% if packet.raw_mesh_packet.decoded and packet.raw_mesh_packet.decoded.portnum == 70 %}
<ul>
{% for node_id in packet.raw_payload.route %}
<li><a