Skip to content

Commit 66772c0

Browse files
authored
1 parent 10b7647 commit 66772c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1922,9 +1922,9 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension
19221922
let targetPlatform = galleryExtension.properties.targetPlatform;
19231923
const options = [];
19241924
for (const targetPlatform of galleryExtension.allTargetPlatforms) {
1925-
if (targetPlatform !== TargetPlatform.UNDEFINED && targetPlatform !== TargetPlatform.UNKNOWN && targetPlatform !== TargetPlatform.UNIVERSAL) {
1925+
if (targetPlatform !== TargetPlatform.UNKNOWN && targetPlatform !== TargetPlatform.UNIVERSAL) {
19261926
options.push({
1927-
label: TargetPlatformToString(targetPlatform),
1927+
label: targetPlatform === TargetPlatform.UNDEFINED ? nls.localize('allplatforms', "All Platforms") : TargetPlatformToString(targetPlatform),
19281928
id: targetPlatform
19291929
});
19301930
}

0 commit comments

Comments
 (0)