This commit is contained in:
github-actions[bot] 2022-10-11 23:23:26 +00:00 committed by GitHub
commit dae1bd70b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1220,10 +1220,9 @@ function getSourceUrl(notification: Notification) {
sourceType sourceType
)}` )}`
else if (sourceSlug) else if (sourceSlug)
return `${sourceSlug}#${getSourceIdForLinkComponent( return `${
sourceId ?? '', sourceSlug.startsWith('/') ? sourceSlug : '/' + sourceSlug
sourceType }#${getSourceIdForLinkComponent(sourceId ?? '', sourceType)}`
)}`
} }
function getSourceIdForLinkComponent( function getSourceIdForLinkComponent(