Skip to content

Commit d8fafad

Browse files
committed
use end_of_community_support on /release-information
1 parent 062298d commit d8fafad

File tree

1 file changed

+3
-1
lines changed
  • src/components/RabbitMQServerReleaseInfo

1 file changed

+3
-1
lines changed

src/components/RabbitMQServerReleaseInfo/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ export function RabbitMQServerReleaseInfoTable() {
155155
var hasOSSSupport = false;
156156
if (releaseBranch.end_of_support) {
157157
/* Release branch is supported. */
158-
if (previousReleaseBranch) {
158+
if (releaseBranch.end_of_community_support) {
159+
endOfCommunitySupportDate = new Date(releaseBranch.end_of_community_support);
160+
} else if (previousReleaseBranch) {
159161
const prevReleases = previousReleaseBranch.releases;
160162
const initialPrevRelease = prevReleases[prevReleases.length - 1];
161163
endOfCommunitySupportDate = new Date(initialPrevRelease.release_date);

0 commit comments

Comments
 (0)