Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Aug 17, 2018
1 parent 18754c7 commit 93d2e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/base/parts/tree/browser/treeModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ export class Item {
}

var result = this.lock.run(this, () => {
if (this.isExpanded()) {
if (this.isExpanded() || !this.doesHaveChildren) {
return WinJS.TPromise.as(false);
}

Expand Down

0 comments on commit 93d2e0e

Please sign in to comment.