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

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

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;