Fix rover: use length(@stations) instead of missing total_stations key

This commit is contained in:
Graham McIntire 2026-04-07 16:21:46 -05:00
parent fd91819e0b
commit cd847b95b7

View file

@ -347,7 +347,7 @@ defmodule MicrowavepropWeb.RoverLive do
</div>
</div>
<div class="mt-1 flex justify-between opacity-70">
<span>{grid.workable_count}/{grid.total_stations} workable</span>
<span>{grid.workable_count}/{length(@stations)} workable</span>
<span>Prop: {grid.prop_score}</span>
</div>
<%= if grid.best_hour do %>