Skip to content

Commit

Permalink
Investigate #30902
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Jul 18, 2017
1 parent eef4508 commit 84fd73b
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,17 +204,16 @@ export class ExtensionsViewlet extends ComposedViewsViewlet implements IExtensio

this.onSearchChange = mapEvent(onSearchInput, e => e.target.value);

return this.extensionManagementService.getInstalled(LocalExtensionType.User)
this.extensionManagementService.getInstalled(LocalExtensionType.User)
.then(installed => {
if (installed.length === 0) {
this.searchBox.value = '@sort:installs';
this.searchExtensionsContextKey.set(true);
}
this.searchExtensionsContextKey.set(!!this.searchBox.value);
return super.create(new Builder(this.extensionsBox));
}, e => {
console.log(e);
return super.create(new Builder(this.extensionsBox));
});
return super.create(new Builder(this.extensionsBox));
}

public updateStyles(): void {
Expand Down

0 comments on commit 84fd73b

Please sign in to comment.