mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-17 12:42:21 +03:00
fix(combos): keep combos page within frozen size cap
Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
This commit is contained in:
committed by
Diego Rodrigues de Sa e Souza
parent
2f8635033b
commit
f5a3405ca8
@@ -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"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user