Skip to content

Commit 38d5cca

Browse files
committed
Also add beta into the condition
1 parent 75ca1bb commit 38d5cca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elastic.Markdown/Myst/Components/ApplicableToComponent.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@
266266
case ProductLifecycle.GenerallyAvailable:
267267
if (TryGetRealVersion(applicability, out var version) && version > versioningSystem.Current)
268268
{
269-
badgeText = applications.Any(a => a.Lifecycle == ProductLifecycle.TechnicalPreview) ? "GA planned" : "Planned";
269+
badgeText = applications.Any(a => a.Lifecycle is ProductLifecycle.TechnicalPreview or ProductLifecycle.Beta) ? "GA planned" : "Planned";
270270
lifecycleTooltip = "We plan to add this functionality in a future update. Plans may change without notice.";
271271
lifecycleClass = "planned";
272272
}

0 commit comments

Comments
 (0)