mirror of
https://github.com/Microsoft/vscode
synced 2024-10-06 11:26:07 +00:00
Check for searchBox input to contain '@installed'
This commit is contained in:
parent
7335edca27
commit
86cf769ac2
|
@ -435,7 +435,11 @@ export class ExtensionsViewlet extends ViewContainerViewlet implements IExtensio
|
|||
|
||||
protected saveState(): void {
|
||||
const value = this.searchBox.getValue();
|
||||
this.searchViewletState['query.value'] = value;
|
||||
if (value.indexOf('@installed') >= 0) {
|
||||
this.searchViewletState['query.value'] = value;
|
||||
} else {
|
||||
this.searchViewletState['query.value'] = '';
|
||||
}
|
||||
super.saveState();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue