Skip to content

Commit

Permalink
Merge pull request #69 from MTES-MCT/develop
Browse files Browse the repository at this point in the history
Debug ajout AC dans les AR πŸ›
  • Loading branch information
vincentlaine authored Jun 22, 2024
2 parents 2bb69fb + 4daecfb commit d6421cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arrete_cadre/arrete_cadre.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class ArreteCadreService {
statut: In(['a_venir', 'publie']),
departements: {
code:
!currentUser || currentUser.role === 'mte'
!currentUser || currentUser.role === 'mte' || depCode
? depCode
: In(currentUser.role_departements),
},
Expand Down

0 comments on commit d6421cc

Please sign in to comment.