fix(nx-dev): don't show minor on main version section (#19838)

This commit is contained in:
Juri Strumpflohner 2023-10-25 14:30:04 +02:00 committed by GitHub
parent 75062ef4e8
commit 480a9414cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -267,7 +267,7 @@ export default function Changelog(props: ChangeLogProps): JSX.Element {
className="inline-flex h-4 w-4"
aria-hidden="true"
/>{' '}
v{changelog.version}
v{changelog.version.split('.').slice(0, 2).join('.')}
</a>
<a aria-hidden="true" href={`#${changelog.version}`}>
<LinkIcon className="ml-2 mb-1 inline h-5 w-5 opacity-0 group-hover:opacity-100" />