fix default connection not always being correct (#6711)

This commit is contained in:
Kim Santiago
2019-08-12 14:24:05 -07:00
committed by GitHub
parent e10cad21fe
commit b4df060362

View File

@@ -52,6 +52,9 @@ export abstract class BasePage {
return undefined; return undefined;
} }
// reverse list so that most recent connections are first
cons.reverse();
let count = -1; let count = -1;
let idx = -1; let idx = -1;
@@ -99,9 +102,6 @@ export abstract class BasePage {
return uniqueValues; return uniqueValues;
}, []); }, []);
// reverse list so that most recent connections show first
values.reverse();
return values; return values;
} }