Revert "OE clicking and awaiting the expansion calls" (#6921)

This commit is contained in:
Charles Gagnon
2019-08-23 15:27:05 -07:00
committed by GitHub
parent 5b9a08359d
commit b9e3a468ae
6 changed files with 33 additions and 47 deletions

View File

@@ -120,10 +120,10 @@ export class TaskHistoryView {
//Get the tree Input
let treeInput = this._taskService.getAllTasks();
if (treeInput) {
this._tree.setInput(treeInput).then(async () => {
this._tree.setInput(treeInput).then(() => {
// Make sure to expand all folders that where expanded in the previous session
if (targetsToExpand) {
await this._tree.expandAll(targetsToExpand);
this._tree.expandAll(targetsToExpand);
}
if (selectedElement) {
this._tree.select(selectedElement);