We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3eb6c3 commit 13c4b2dCopy full SHA for 13c4b2d
1 file changed
src/theme/UnsupportedVersionBanner/index.js
@@ -115,15 +115,17 @@ function FutureReleaseWarning({ versionData }) {
115
116
<br />
117
118
- <Translate
119
- description="A message to inform of the code freeze date"
120
- id="documentation.support.freezeDate"
121
- values={{
122
- date: versionData.codeFreezeDate,
123
- }}
124
- >
125
- {' The code freeze date for this release is {date}.'}
126
- </Translate>
+ {versionData.codeFreezeDate && (
+ <Translate
+ description="A message to inform of the code freeze date"
+ id="documentation.support.freezeDate"
+ values={{
+ date: versionData.codeFreezeDate,
+ }}
+ >
+ {'The code freeze date for this release is {date}.'}
127
+ </Translate>
128
+ )}
129
</Admonition>
130
);
131
}
0 commit comments