Replacing select with focus to prevent second create session (#21811)

This commit is contained in:
Aasim Khan
2023-02-02 15:07:05 -08:00
committed by GitHub
parent f082ac2176
commit 95d4f130c6

View File

@@ -137,7 +137,7 @@ export class TreeUpdateUtils {
await tree.expandAll(targetsToExpand);
}
if (selectedElement) {
tree.select(selectedElement);
tree.setFocus(selectedElement);
}
tree.getFocus();
}, onUnexpectedError);