Skip to content

Commit 2f28a09

Browse files
authored
1 parent 7e52589 commit 2f28a09

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/vs/workbench/contrib/extensions/browser/extensionEditor.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,9 +471,16 @@ export class ExtensionEditor extends EditorPane {
471471
const currentOptions: IExtensionEditorOptions | undefined = this.options;
472472
super.setOptions(options);
473473
this.updatePreReleaseVersionContext();
474+
474475
if (this.input && this.template && currentOptions?.showPreReleaseVersion !== options?.showPreReleaseVersion) {
475476
this.render((this.input as ExtensionsInput).extension, this.template, !!options?.preserveFocus);
477+
return;
476478
}
479+
480+
if (options?.tab) {
481+
this.template?.navbar.switch(options.tab);
482+
}
483+
477484
}
478485

479486
private updatePreReleaseVersionContext(): void {

0 commit comments

Comments
 (0)