Fix bug where failed OE expands could not be retried (#2780)

This commit is contained in:
Matt Irvine
2018-10-08 11:16:11 -07:00
committed by GitHub
parent 8a8745701b
commit dad831bc8c
3 changed files with 20 additions and 7 deletions

View File

@@ -361,12 +361,6 @@ export class Item {
return WinJS.TPromise.as(false);
}
// {{SQL CARBON EDIT}} - Original code does not handle the need to refresh children in case previous refreshchildren errored out.
// resetting the errorStateMessage before we refresh children so we can track if there has been error in processing.
if (this.element instanceof TreeNode) {
this.element.errorStateMessage = null;
}
var result = this.lock.run(this, () => {
var eventData: IItemExpandEvent = { item: this };
var result: WinJS.Promise;