Skip to content

Commit

Permalink
fix: search extension
Browse files Browse the repository at this point in the history
  • Loading branch information
buqiyuan committed Feb 9, 2023
1 parent ca8d90d commit 9c39e66
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
);
Expand Down

0 comments on commit 9c39e66

Please sign in to comment.