diff --git a/src/components/ReleaseNotesRender/__tests__/__snapshots__/ReleaseNotesRender.test.tsx.snap b/src/components/ReleaseNotesRender/__tests__/__snapshots__/ReleaseNotesRender.test.tsx.snap index 660599988..764959165 100644 --- a/src/components/ReleaseNotesRender/__tests__/__snapshots__/ReleaseNotesRender.test.tsx.snap +++ b/src/components/ReleaseNotesRender/__tests__/__snapshots__/ReleaseNotesRender.test.tsx.snap @@ -48,6 +48,18 @@ exports[`ReleaseNotesRender component > should render correctly - version not de

This section organizes the changes in the selected update release by the main component under which each issue is filed.

+

+ + NOTE: + + These are the release notes for the latest LTS version. If you need a different version, please visit the + + download page + + to select another one. +

The total number of fixes marked as P1 is: 2 @@ -893,6 +905,18 @@ exports[`ReleaseNotesRender component > should render correctly 1`] = `

This section organizes the changes in the selected update release by the main component under which each issue is filed.

+

+ + NOTE: + + These are the release notes for the latest LTS version. If you need a different version, please visit the + + download page + + to select another one. +

The total number of fixes marked as P1 is: 2 diff --git a/src/components/ReleaseNotesRender/index.tsx b/src/components/ReleaseNotesRender/index.tsx index 38955c068..f26fe6c73 100644 --- a/src/components/ReleaseNotesRender/index.tsx +++ b/src/components/ReleaseNotesRender/index.tsx @@ -174,6 +174,9 @@ const ReleaseNotesRender = (): null | JSX.Element => { ) : ( <>

This section organizes the changes in the selected update release by the main component under which each issue is filed.

+ {version !== releaseNotesVersion && +

NOTE: These are the release notes for the latest LTS version. If you need a different version, please visit the download page to select another one.

+ }

{`The total number of fixes marked as P1 is: ${totalP1}`}

renders correctly 1`] = `

This section organizes the changes in the selected update release by the main component under which each issue is filed.

+

+ + NOTE: + + These are the release notes for the latest LTS version. If you need a different version, please visit the + + download page + + to select another one. +

The total number of fixes marked as P1 is: 1