Skip to content

Commit c65f81a

Browse files
Bind Extension search bar within view container so it is re-created
Fixes #13622
1 parent a87c46a commit c65f81a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vsx-registry/src/browser/vsx-registry-frontend-module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
7878
progressLocationId: 'extensions'
7979
});
8080
child.bind(VSXExtensionsViewContainer).toSelf();
81+
child.bind(VSXExtensionsSearchBar).toSelf().inSingletonScope();
8182
const viewContainer = child.get(VSXExtensionsViewContainer);
8283
const widgetManager = child.get(WidgetManager);
8384
for (const id of [
@@ -96,7 +97,6 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
9697
})).inSingletonScope();
9798

9899
bind(VSXExtensionsSearchModel).toSelf().inSingletonScope();
99-
bind(VSXExtensionsSearchBar).toSelf().inSingletonScope();
100100

101101
rebind(LanguageQuickPickService).to(VSXLanguageQuickPickService).inSingletonScope();
102102

0 commit comments

Comments
 (0)