Fix missing historical_packets in socket assigns

Add missing :historical_packets initialization to prevent KeyError when
HistoricalLoader tries to access it during zoom-based display handling.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Graham McIntire 2025-07-15 11:07:05 -05:00
parent e97d1d6e33
commit 114514bdfe
No known key found for this signature in database

View file

@ -155,6 +155,7 @@ defmodule AprsmeWeb.MapLive.Index do
packets: [],
all_packets: %{},
visible_packets: %{},
historical_packets: %{},
page_title: "APRS Map",
packet_state: PacketManager.init_packet_state(),
station_popup_open: false,