mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-09 17:52:34 -05:00
OE clicking and awaiting the expansion calls (#6761)
* Server selection with proper awaits * Handle keyboard clicks immedietely. * Clean up the event a little more * Eat the event if its not mouse or keyboard
This commit is contained in:
@@ -120,10 +120,10 @@ export class TaskHistoryView {
|
||||
//Get the tree Input
|
||||
let treeInput = this._taskService.getAllTasks();
|
||||
if (treeInput) {
|
||||
this._tree.setInput(treeInput).then(() => {
|
||||
this._tree.setInput(treeInput).then(async () => {
|
||||
// Make sure to expand all folders that where expanded in the previous session
|
||||
if (targetsToExpand) {
|
||||
this._tree.expandAll(targetsToExpand);
|
||||
await this._tree.expandAll(targetsToExpand);
|
||||
}
|
||||
if (selectedElement) {
|
||||
this._tree.select(selectedElement);
|
||||
|
||||
Reference in New Issue
Block a user