mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-04-01 17:40:30 -04:00
fix default connection not always being correct (#6711)
This commit is contained in:
committed by
Charles Gagnon
parent
c4d3a90266
commit
75b9ab643d
@@ -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