mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-25 11:39:51 +01: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' && (
|
{assertSecret(import.meta.env.PUBLIC_PROMOTE_OPENTEST) === 'true' && (
|
||||||
<Link
|
<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">
|
<Button variant="outline" color="green">
|
||||||
<ScienceIcon height="1.25em" width="1.25em" />
|
<ScienceIcon height="1.25em" width="1.25em" />
|
||||||
OpenTest
|
{assertSecret(import.meta.env.PUBLIC_ASSET_BRANCH) ===
|
||||||
|
'opentest'
|
||||||
|
? 'Vanilla'
|
||||||
|
: 'OpenTest'}
|
||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in new issue
Block a user