From 114514bdfe3285b3fa24df314e59e17a969c8d90 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Tue, 15 Jul 2025 11:07:05 -0500 Subject: [PATCH] Fix missing historical_packets in socket assigns MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- lib/aprsme_web/live/map_live/index.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/aprsme_web/live/map_live/index.ex b/lib/aprsme_web/live/map_live/index.ex index 593cd66..da0cd4e 100644 --- a/lib/aprsme_web/live/map_live/index.ex +++ b/lib/aprsme_web/live/map_live/index.ex @@ -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,