Skip to content

Commit 8d04e1b

Browse files
authored
do not close on clicking link - fix microsoft#238988 (microsoft#239195)
* do not close on clicking link - fix microsoft#238988
1 parent a65e2d6 commit 8d04e1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,8 @@ export class ExtensionManagementService extends Disposable implements IWorkbench
906906
if (verifiedPublishers.length || unverfiiedPublishers.length === 1) {
907907
for (const publisher of verifiedPublishers) {
908908
customMessage.appendText('\n');
909-
const publisherVerifiedMessage = localize('verifiedPublisherWithName', "{0} has verified ownership of {1}.", getPublisherLink(publisher), `[${URI.parse(publisher.publisherDomain!.link).authority}](${publisher.publisherDomain!.link})`);
909+
const publisherDomainLink = URI.parse(publisher.publisherDomain!.link);
910+
const publisherVerifiedMessage = localize('verifiedPublisherWithName', "{0} has verified ownership of {1}.", getPublisherLink(publisher), `${publisherDomainLink.authority}${publisherDomainLink.path === '/' ? '' : publisherDomainLink.path}`);
910911
customMessage.appendMarkdown(`$(${verifiedPublisherIcon.id}) ${publisherVerifiedMessage}`);
911912
}
912913
if (unverfiiedPublishers.length) {
@@ -941,7 +942,6 @@ export class ExtensionManagementService extends Disposable implements IWorkbench
941942
},
942943
custom: {
943944
markdownDetails: [{ markdown: customMessage, classes: ['extensions-management-publisher-trust-dialog'] }],
944-
closeOnLinkClick: true,
945945
}
946946
});
947947

0 commit comments

Comments
 (0)