Files
einfach-produktiv/app
Marco 0c72b70de7 fix(cart): pad RelatedProducts to 3 cards even on first pick
The catalog only has 4 products; with 2 already in the cart, the
initial pick's pool shrinks to 2 and pickRandom's slice can't pad
past what's available, so the grid rendered 2 cards instead of 3.
The swap-after-add path already had fallback logic for this exact
case — extracted it into pickWithFallback() and reused it for the
initial pick too.
2026-07-19 23:22:26 +00:00
..
2026-07-19 17:00:07 +00:00