mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
fix: promote vanilla in opentest
This commit is contained in:
1 parent
a2685394fd
commit
3698826ac4
1 file changed
+9
-2
@@ -56,11 +56,18 @@ export function MetaSection() {
|
||||
|
||||
{assertSecret(import.meta.env.PUBLIC_PROMOTE_OPENTEST) === 'true' && (
|
||||
<Link
|
||||
href={`https://opentest.blitzkit.app/tools/tankopedia/${protagonist.id}`}
|
||||
href={`https://${
|
||||
assertSecret(import.meta.env.PUBLIC_ASSET_BRANCH) === 'opentest'
|
||||
? ''
|
||||
: 'opentest.'
|
||||
}blitzkit.app/tools/tankopedia/${protagonist.id}`}
|
||||
>
|
||||
<Button variant="outline" color="green">
|
||||
<ScienceIcon height="1.25em" width="1.25em" />
|
||||
OpenTest
|
||||
{assertSecret(import.meta.env.PUBLIC_ASSET_BRANCH) ===
|
||||
'opentest'
|
||||
? 'Vanilla'
|
||||
: 'OpenTest'}
|
||||
</Button>
|
||||
</Link>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user