Private
Public Access
0
0

fix(mma): process global mma_state_update when no track in payload

This commit is contained in:
2026-06-09 17:45:13 -04:00
parent 7a946544ff
commit 3b0e63124a
+2 -2
View File
@@ -467,7 +467,7 @@ def _handle_mma_state_update(controller: 'AppController', task: dict):
if track_data and controller.active_track and track_data.get("id") == controller.active_track.id:
is_active_track = True
if is_active_track or not controller.active_track:
if is_active_track or not controller.active_track or not track_data:
controller._mma_status = p.get("status", controller._mma_status)
old_tier = controller.active_tier
@@ -496,7 +496,7 @@ def _handle_mma_state_update(controller: 'AppController', task: dict):
else:
controller.mma_tier_usage[tier] = data
if is_active_track or not controller.active_track:
if is_active_track or not controller.active_track or not track_data:
controller.active_tickets = p.get("tickets", [])
if track_data:
tickets = []