mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
fix default connection not always being correct (#6711)
This commit is contained in:
@@ -52,6 +52,9 @@ export abstract class BasePage {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
// reverse list so that most recent connections are first
|
||||
cons.reverse();
|
||||
|
||||
let count = -1;
|
||||
let idx = -1;
|
||||
|
||||
@@ -99,9 +102,6 @@ export abstract class BasePage {
|
||||
return uniqueValues;
|
||||
}, []);
|
||||
|
||||
// reverse list so that most recent connections show first
|
||||
values.reverse();
|
||||
|
||||
return values;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user