File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
src/theme/UnsupportedVersionBanner Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -115,15 +115,17 @@ function FutureReleaseWarning({ versionData }) {
115115
116116 < br />
117117
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 >
118+ { versionData . codeFreezeDate && (
119+ < Translate
120+ description = "A message to inform of the code freeze date"
121+ id = "documentation.support.freezeDate"
122+ values = { {
123+ date : versionData . codeFreezeDate ,
124+ } }
125+ >
126+ { 'The code freeze date for this release is {date}.' }
127+ </ Translate >
128+ ) }
127129 </ Admonition >
128130 ) ;
129131}
You can’t perform that action at this time.
0 commit comments