提交 823c83ad 编写于 作者: S Sandeep Somavarapu

revert the changes

上级 8d8060b0
...@@ -204,16 +204,14 @@ export class ExtensionsViewlet extends ComposedViewsViewlet implements IExtensio ...@@ -204,16 +204,14 @@ export class ExtensionsViewlet extends ComposedViewsViewlet implements IExtensio
this.onSearchChange = mapEvent(onSearchInput, e => e.target.value); this.onSearchChange = mapEvent(onSearchInput, e => e.target.value);
this.extensionManagementService.getInstalled(LocalExtensionType.User) return this.extensionManagementService.getInstalled(LocalExtensionType.User)
.then(installed => { .then(installed => {
if (installed.length === 0) { if (installed.length === 0) {
this.searchBox.value = '@sort:installs'; this.searchBox.value = '@sort:installs';
this.searchExtensionsContextKey.set(true);
} }
}, e => { this.searchExtensionsContextKey.set(true);
console.log(e); return super.create(new Builder(this.extensionsBox));
}); });
return super.create(new Builder(this.extensionsBox));
} }
public updateStyles(): void { public updateStyles(): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册