mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-03-20 21:30:29 +00:00
Fix goal now appearing on progress bar while decorating
This commit is contained in:
parent
98a8681711
commit
f3ce9cc0ca
1 changed files with 8 additions and 2 deletions
|
@ -446,9 +446,15 @@ export function setUpDailyProgressTracker(options: {
|
|||
textStyle: options.textColor ? { color: options.textColor } : undefined,
|
||||
progress: progressFunc,
|
||||
display: jsx(() =>
|
||||
main.day.value === options.day ? (
|
||||
main.day.value === options.day ||
|
||||
main.currentlyMastering.value?.name === options.name ? (
|
||||
<>
|
||||
{formatWhole(total.value)}/{formatWhole(options.goal)}
|
||||
{formatWhole(total.value)}/
|
||||
{formatWhole(
|
||||
main.currentlyMastering.value?.name === options.name
|
||||
? options.masteryGoal ?? options.goal
|
||||
: options.goal
|
||||
)}
|
||||
</>
|
||||
) : (
|
||||
""
|
||||
|
|
Loading…
Add table
Reference in a new issue