We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 272c021 commit 33d7111Copy full SHA for 33d7111
src/vs/platform/mcp/common/mcpGalleryService.ts
@@ -178,7 +178,8 @@ export class McpGalleryService extends Disposable implements IMcpGalleryService
178
}
179
180
let icon: { light: string; dark: string } | undefined;
181
- if (this.productService.extensionsGallery?.mcpUrl !== this.getMcpGalleryUrl()) {
+ const mcpGalleryUrl = this.getMcpGalleryUrl();
182
+ if (mcpGalleryUrl && this.productService.extensionsGallery?.mcpUrl !== mcpGalleryUrl) {
183
if (item.iconUrl) {
184
icon = {
185
light: item.iconUrl,
0 commit comments