mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: don't display battle count for tier x in tech tree section
This commit is contained in:
1 parent
cb45faf83c
commit
2d3e45df73
1 file changed
+2
-1
@@ -3,6 +3,7 @@ import {
|
|||||||
fetchAverageDefinitions,
|
fetchAverageDefinitions,
|
||||||
fetchTankDefinitions,
|
fetchTankDefinitions,
|
||||||
formatCompact,
|
formatCompact,
|
||||||
|
Tier,
|
||||||
TIER_ROMAN_NUMERALS,
|
TIER_ROMAN_NUMERALS,
|
||||||
} from '@blitzkit/core';
|
} from '@blitzkit/core';
|
||||||
import { Box, Flex, Link, Skeleton, Text } from '@radix-ui/themes';
|
import { Box, Flex, Link, Skeleton, Text } from '@radix-ui/themes';
|
||||||
@@ -124,7 +125,7 @@ export function Node({ id, highlight, nextIds, skeleton }: NodeProps) {
|
|||||||
</Text>
|
</Text>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
{averages && nextTanks && (
|
{averages && nextTanks && tank.tier !== Tier.X && (
|
||||||
<Text color="gray" size="1" mt="2">
|
<Text color="gray" size="1" mt="2">
|
||||||
{skeleton && <Skeleton height="1em" width="4em" />}
|
{skeleton && <Skeleton height="1em" width="4em" />}
|
||||||
{!skeleton && (
|
{!skeleton && (
|
||||||
|
|||||||
Reference in new issue
Block a user