Skip to content

Commit 207aafc

Browse files
authored
1 parent 7fc1f6a commit 207aafc

File tree

4 files changed

+279
-148
lines changed

4 files changed

+279
-148
lines changed

src/vs/workbench/contrib/userDataProfile/browser/userDataProfilePreview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class UserDataProfilePreviewContribution extends Disposable implements IW
2020
) {
2121
super();
2222
if (environmentService.options?.profileToPreview) {
23-
userDataProfileImportExportService.importProfile(URI.revive(environmentService.options.profileToPreview), { donotPrompt: true, previewAsTempProfile: true })
23+
userDataProfileImportExportService.importProfile(URI.revive(environmentService.options.profileToPreview), { preview: true })
2424
.then(null, error => logService.error('Error while previewing the profile', getErrorMessage(error)));
2525
}
2626
}

src/vs/workbench/services/userDataProfile/browser/extensionsResource.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ export abstract class ExtensionsResourceTreeItem implements IProfileResourceTree
166166
readonly handle = ProfileResourceType.Extensions;
167167
readonly label = { label: localize('extensions', "Extensions") };
168168
readonly collapsibleState = TreeItemCollapsibleState.Expanded;
169+
contextValue = ProfileResourceType.Extensions;
169170
checkbox: ITreeItemCheckboxState | undefined;
170171

171172
protected readonly excludedExtensions = new Set<string>();

0 commit comments

Comments
 (0)