@microsoft/vscode-azext-utils
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -45,2 +45,8 @@ /*--------------------------------------------------------------------------------------------- | ||
/** | ||
* Refreshes only the tree UI so `refreshImpl` is not called and setCache is not set to true | ||
* @param treeItem The treeItem to refresh or 'undefined' to refresh the whole tree | ||
*/ | ||
public refreshUIOnly(treeItem: AzExtTreeItem | undefined): void | ||
/** | ||
* Loads more children for a specific tree item | ||
@@ -47,0 +53,0 @@ * @param treeItem the load more tree item |
@@ -132,6 +132,4 @@ "use strict"; | ||
} | ||
refreshUIOnly(_treeItem) { | ||
// Pass undefined as temporary workaround for https://github.com/microsoft/vscode/issues/71698 | ||
this._onDidChangeTreeDataEmitter.fire(undefined); | ||
// this._onDidChangeTreeDataEmitter.fire(treeItem === this._rootTreeItem ? undefined : treeItem); | ||
refreshUIOnly(treeItem) { | ||
this._onDidChangeTreeDataEmitter.fire(treeItem === this._rootTreeItem ? undefined : treeItem); | ||
} | ||
@@ -138,0 +136,0 @@ loadMore(treeItem, context) { |
{ | ||
"name": "@microsoft/vscode-azext-utils", | ||
"author": "Microsoft Corporation", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Common UI tools for developing Azure extensions for VS Code", | ||
@@ -6,0 +6,0 @@ "tags": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
281466
5648