From a9564e046e338922b7b1cc1704999107e27247ff Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 28 May 2024 11:22:08 +0200 Subject: [PATCH] Refactor category handling --- frontend/src/components/ResultPage.vue | 41 ++++--------------- .../src/utils/firearms-utils/arme-alarme.ts | 2 +- .../utils/firearms-utils/autre-pistolet.ts | 2 +- .../epaule-a-levier-sous-garde.ts | 4 +- .../utils/firearms-utils/epaule-a-pompe.ts | 5 ++- .../epaule-a-un-coup-par-canon.ts | 4 +- .../utils/firearms-utils/epaule-a-verrou.ts | 4 +- .../epaule-semi-auto-militaire-milieu-20e.ts | 2 +- .../epaule-semi-auto-style-chasse.ts | 4 +- .../firearms-utils/epaule_mecanisme_ancien.ts | 2 +- frontend/src/utils/firearms-utils/index.ts | 8 ++++ .../pistolet-mecanisme-ancien.ts | 2 +- .../pistolet-semi-auto-moderne.ts | 2 +- frontend/src/utils/firearms-utils/revolver.ts | 4 +- .../semi-auto-style-militaire-autre.ts | 2 +- 15 files changed, 40 insertions(+), 48 deletions(-) diff --git a/frontend/src/components/ResultPage.vue b/frontend/src/components/ResultPage.vue index 458644b3..2d4433e0 100644 --- a/frontend/src/components/ResultPage.vue +++ b/frontend/src/components/ResultPage.vue @@ -1,5 +1,5 @@