mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: migrated tank search
This commit is contained in:
1 parent
e241870ece
commit
187230439b
15 files changed
+28
-31
No files matched your search
@@ -10,7 +10,7 @@ interface Props {
|
||||
|
||||
const { tool } = Astro.props;
|
||||
const disabled = tool.branches?.every(
|
||||
(branch) => branch !== assertSecret(process.env.PUBLIC_ASSET_BRANCH),
|
||||
(branch) => branch !== assertSecret(import.meta.env.PUBLIC_ASSET_BRANCH),
|
||||
);
|
||||
---
|
||||
|
||||
@@ -106,7 +106,7 @@ const disabled = tool.branches?.every(
|
||||
disabled ? (
|
||||
<>
|
||||
Unavailable on{' '}
|
||||
<Code>{assertSecret(process.env.PUBLIC_ASSET_BRANCH)}</Code>
|
||||
<Code>{assertSecret(import.meta.env.PUBLIC_ASSET_BRANCH)}</Code>
|
||||
</>
|
||||
) : (
|
||||
tool.description
|
||||
|
||||
Reference in new issue
Block a user