diff --git a/src/workbench/browser/src/app/pages/extension/extension.component.ts b/src/workbench/browser/src/app/pages/extension/extension.component.ts index 9bc39686e..5da3dc7e6 100644 --- a/src/workbench/browser/src/app/pages/extension/extension.component.ts +++ b/src/workbench/browser/src/app/pages/extension/extension.component.ts @@ -56,7 +56,9 @@ export class ExtensionComponent implements OnInit { (value, oldValue) => { const isSuggest = suggestList.some(n => oldValue && n.startsWith(oldValue)); if (value.trim() === '' && isSuggest) { + const node = this.treeNodes.find(n => n.key === 'all'); this.nzSelectedKeys = ['all']; + node && this.setGroup(node.key); } } );