From b13d6756927eda1a582a38ec0dd38d292047ccd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Wed, 4 Sep 2024 22:16:31 -0500 Subject: [PATCH] fix: don't promote opentest on opentest --- src/app/components/Plugs.tsx | 45 ++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/src/app/components/Plugs.tsx b/src/app/components/Plugs.tsx index 053dfa1b3..9bd0aa20d 100644 --- a/src/app/components/Plugs.tsx +++ b/src/app/components/Plugs.tsx @@ -35,30 +35,31 @@ export function Plugs() { py="8" gap="6" > - {assertSecret(process.env.NEXT_PUBLIC_PROMOTE_OPENTEST) === 'true' && ( - <> - - - NEW - - BlitzKit{' '} - - opentest - {' '} - is available now{' '} - + {assertSecret(process.env.NEXT_PUBLIC_PROMOTE_OPENTEST) === 'true' && + assertSecret(process.env.NEXT_PUBLIC_ASSET_BRANCH) !== 'opentest' && ( + <> + + + NEW + + BlitzKit{' '} + + opentest + {' '} + is available now{' '} + + + + + + - - - - - - - - )} + + + )}