Skip to content

Commit

Permalink
[Surveillance] Ajout des boutons de "type" de zone pour dessiner la z…
Browse files Browse the repository at this point in the history
…one de surveillance (#1322)

Ajout des boutons des types de zone dans la modal pour dessiner la zone
de surveillance

## Related Pull Requests & Issues

- Resolve #1313


----

- [ ] Tests E2E (Cypress)
  • Loading branch information
claire2212 committed Apr 10, 2024
2 parents c94d83f + 58641ed commit 7458a82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/features/map/draw/DrawModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ export function DrawModal() {
return (
<MapInteraction
customTools={
(listener === InteractionListener.MISSION_ZONE || listener === InteractionListener.REPORTING_ZONE) && (
(listener === InteractionListener.MISSION_ZONE ||
listener === InteractionListener.REPORTING_ZONE ||
listener === InteractionListener.SURVEILLANCE_ZONE) && (
<IconGroup>
<IconButton
className={interactionType === InteractionType.POLYGON ? '_active' : undefined}
Expand Down

0 comments on commit 7458a82

Please sign in to comment.