mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-06 07:39:02 +02:00
Merge pull request #29831 from overleaf/visible-coupon-input
[web] Visible coupon input GitOrigin-RevId: 491783c5b0027990fa54af92dcdd1d7af718cf23
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user