mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -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;
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user