Skip to content

Commit

Permalink
fix: singe badge include firstaid logo (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
Suboyyy authored Nov 1, 2024
1 parent a37c1e2 commit 5c28a74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/admin/badges/generateBadges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ export default [
firstName: user[0].firstname,
lastName: user[0].lastname,
image: `${env.front.website}/uploads/files/orga/${user[0].orga.photoFilename}.webp`,
firstaid: !!user[0].permissions.includes('firstaid'),
commissionName: getCommissionName(
user[0].orga.roles[mainCommissionIndex].commissionRole,
user[0].orga.roles[mainCommissionIndex].commission.id,
Expand Down

0 comments on commit 5c28a74

Please sign in to comment.