@if (counter.icon && counter.icon.startsWith(':')) {
} @else if (counter.icon) {
{{ counter.icon }}
} @else {
{{ counter.title.charAt(0).toUpperCase() }}
}
{{ counter.title }}
@for (day of days(); track day) {
= (counter.streakMinValue || 1)"
>
@if (
getProgress(counter, day) > 0 &&
getProgress(counter, day) < 100 &&
!isSimpleCompletion(counter)
) {
}
@if (isSimpleCompletion(counter) && getVal(counter, day) > 0) {
check
} @else if (getDisplayValue(counter, day)) {
{{ getDisplayValue(counter, day) }}
}
}