We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdb987c commit 75ca1bbCopy full SHA for 75ca1bb
src/Elastic.Markdown/Myst/Components/ApplicableToComponent.cshtml
@@ -266,8 +266,7 @@
266
case ProductLifecycle.GenerallyAvailable:
267
if (TryGetRealVersion(applicability, out var version) && version > versioningSystem.Current)
268
{
269
- var technicalPreviewApplicability = applications.FirstOrDefault(a => a.Lifecycle == ProductLifecycle.TechnicalPreview);
270
- badgeText = technicalPreviewApplicability is not null ? "GA planned" : "Planned";
+ badgeText = applications.Any(a => a.Lifecycle == ProductLifecycle.TechnicalPreview) ? "GA planned" : "Planned";
271
lifecycleTooltip = "We plan to add this functionality in a future update. Plans may change without notice.";
272
lifecycleClass = "planned";
273
}
0 commit comments