From a8e3c9b1cc0e5090a1e567d03efb6587eb87e37f Mon Sep 17 00:00:00 2001 From: Alex Mickelson Date: Tue, 17 Mar 2026 18:43:29 -0600 Subject: [PATCH] layout --- lib/cobblemon_ui_web/live/dashboard_live.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cobblemon_ui_web/live/dashboard_live.ex b/lib/cobblemon_ui_web/live/dashboard_live.ex index 9271fb8..c652092 100644 --- a/lib/cobblemon_ui_web/live/dashboard_live.ex +++ b/lib/cobblemon_ui_web/live/dashboard_live.ex @@ -254,7 +254,7 @@ defmodule CobblemonUiWeb.DashboardLive do <%!-- Party view --%>
- <%= for {pokemon, idx} <- Enum.with_index(@player_data.party) do %> + <%= for {pokemon, idx} <- Enum.with_index(@player_data.party), not is_nil(pokemon) do %> <.pokemon_card pokemon={pokemon} index={idx} @@ -271,7 +271,7 @@ defmodule CobblemonUiWeb.DashboardLive do Box {box.box + 1}
- <%= for {pokemon, idx} <- Enum.with_index(box.pokemon) do %> + <%= for {pokemon, idx} <- Enum.with_index(box.pokemon), not is_nil(pokemon) do %> <.pokemon_card pokemon={pokemon} index={pc_global_index(@player_data.pc, box.box, idx)}