From 7cc91e7254d083333c48d5a3e2010049550e723e Mon Sep 17 00:00:00 2001 From: Olzhas Askar Date: Thu, 11 Dec 2025 13:58:59 +0100 Subject: [PATCH] Merge pull request #29831 from overleaf/visible-coupon-input [web] Visible coupon input GitOrigin-RevId: 491783c5b0027990fa54af92dcdd1d7af718cf23 --- services/web/frontend/js/utils/splitTestUtils.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/services/web/frontend/js/utils/splitTestUtils.ts b/services/web/frontend/js/utils/splitTestUtils.ts index 78802a0cca..f706199008 100644 --- a/services/web/frontend/js/utils/splitTestUtils.ts +++ b/services/web/frontend/js/utils/splitTestUtils.ts @@ -4,7 +4,10 @@ export function isSplitTestEnabled(name: string) { return getMeta('ol-splitTestVariants')?.[name] === 'enabled' } -export function getSplitTestVariant(name: string, fallback?: string) { +export function getSplitTestVariant( + name: string, + fallback: string = 'default' +) { return getMeta('ol-splitTestVariants')?.[name] || fallback }