Skip to content

Commit 4a9e059

Browse files
committed
Add link in top warning bar for superceded extensions
1 parent 0a742fb commit 4a9e059

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/templates/extension-detail.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,9 @@ const ExtensionDetailTemplate = ({
215215
duplicates.map(duplicate => (
216216
<SupersededWarning key={duplicate.groupId}>
217217
{/^[aeiou]/i.test(duplicate.relationship) ? "An " : "A "}
218-
{duplicate.relationship} version of this extension has been released
218+
<Link to={`/${duplicate.slug}`}>{duplicate.relationship} version</Link> of this
219+
extension has
220+
been released
219221
with the group id{" "}
220222
<MavenCoordinate>{duplicate.groupId}</MavenCoordinate>
221223
</SupersededWarning>

0 commit comments

Comments
 (0)