mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-12 09:18:25 +03:00
feat: always show score alg desc under profile alg desc (#1319)
* feat: always display score alg description * fix: typo
This commit is contained in:
@@ -51,17 +51,25 @@ export default function UGPTRatingsTable({ ugs }: { ugs: UserGameStats }) {
|
||||
tooltipContent={
|
||||
<div>
|
||||
{gptConfig.profileRatingAlgs[k].description}
|
||||
{k in gptConfig.scoreRatingAlgs && (
|
||||
{(gptConfig.profileRatingAlgs[k].associatedScoreAlgs ?? [])
|
||||
.length > 0 && (
|
||||
<>
|
||||
<Divider />(
|
||||
{FormatGPTScoreRatingName(
|
||||
ugs.game,
|
||||
ugs.playtype,
|
||||
k
|
||||
)}
|
||||
: {gptConfig.scoreRatingAlgs[k].description})
|
||||
<Divider />
|
||||
</>
|
||||
)}
|
||||
{gptConfig.profileRatingAlgs[k].associatedScoreAlgs?.map(
|
||||
(alg) => (
|
||||
<div>
|
||||
(
|
||||
{FormatGPTScoreRatingName(
|
||||
ugs.game,
|
||||
ugs.playtype,
|
||||
alg
|
||||
)}
|
||||
: {gptConfig.scoreRatingAlgs[alg].description})
|
||||
</div>
|
||||
)
|
||||
)}
|
||||
</div>
|
||||
}
|
||||
wide
|
||||
|
||||
Reference in New Issue
Block a user