fix(combos): keep combos page within frozen size cap

Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
This commit is contained in:
itolstov
2026-07-12 22:41:25 -03:00
committed by Diego Rodrigues de Sa e Souza
parent 2f8635033b
commit f5a3405ca8

View File

@@ -769,9 +769,6 @@ export default function CombosPage() {
if (combosRes.ok) setCombos((combosData.combos || []).filter((c) => !c.isHidden));
if (providersRes.ok) {
// Exclude connections the user has explicitly disabled (isActive === false)
// before applying the test-status filter — a disabled connection can still
// carry a stale "active"/"success" testStatus from before it was disabled.
const active = filterActiveConnections(providersData.connections || []).filter(
(c) => c.testStatus === "active" || c.testStatus === "success"
);