improovments, more badge images

This commit is contained in:
yohlo
2025-10-06 11:53:39 -05:00
parent 147dc4e744
commit 375e0bbfc8
6 changed files with 2 additions and 1 deletions

View File

@@ -436,7 +436,8 @@ export function createBadgesService(pb: PocketBase) {
const target = this.getTargetProgress(badge);
const isPlacementBadge = badge.criteria.placement !== undefined;
const earned = badge.progressive || isPlacementBadge
const is8YearVeteran = badge.key === 'veteran_8_badge';
const earned = badge.progressive || isPlacementBadge || is8YearVeteran
? progress >= target
: progress === target;