提交 f1ebde54 编写于 作者: I isidor

fixes #109781

上级 876af4cc
...@@ -538,9 +538,7 @@ export class ReportExtensionIssueAction extends Action { ...@@ -538,9 +538,7 @@ export class ReportExtensionIssueAction extends Action {
@INativeHostService private readonly nativeHostService: INativeHostService @INativeHostService private readonly nativeHostService: INativeHostService
) { ) {
super(ReportExtensionIssueAction._id, ReportExtensionIssueAction._label, 'extension-action report-issue'); super(ReportExtensionIssueAction._id, ReportExtensionIssueAction._label, 'extension-action report-issue');
this.enabled = extension.marketplaceInfo this.enabled = !!extension.description.repository && !!extension.description.repository.url;
&& extension.marketplaceInfo.type === ExtensionType.User
&& !!extension.description.repository && !!extension.description.repository.url;
} }
async run(): Promise<void> { async run(): Promise<void> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册