diff --git a/frontend/src/utils/firearms-utils/index.ts b/frontend/src/utils/firearms-utils/index.ts index 0ed4d2d2b..604dab08f 100644 --- a/frontend/src/utils/firearms-utils/index.ts +++ b/frontend/src/utils/firearms-utils/index.ts @@ -1,4 +1,4 @@ -import { revolver, revolver_black_powder } from './revolver' +import { revolver } from './revolver' import { pistolet_semi_auto_moderne } from './pistolet-semi-auto-moderne' import { epaule_a_un_coup_par_canon } from './epaule-a-un-coup-par-canon' import { epaule_a_verrou } from './epaule-a-verrou' @@ -24,7 +24,6 @@ export const TYPOLOGIES = { pistolet_mecanisme_ancien, pistolet_semi_auto_moderne, revolver, - revolver_black_powder, semi_auto_style_militaire_autre, arme_alarme, } as const diff --git a/frontend/src/utils/firearms-utils/revolver.ts b/frontend/src/utils/firearms-utils/revolver.ts index b0da961e4..52db1569d 100644 --- a/frontend/src/utils/firearms-utils/revolver.ts +++ b/frontend/src/utils/firearms-utils/revolver.ts @@ -18,6 +18,10 @@ import revolver31892Img from '@/assets/guide-mise-en-securite/photos/revolver/re import revolver31892Video from '@/assets/guide-mise-en-securite/videos/revolver/revolver_1892.mp4' import revolverCartridges from '@/assets/guide-identification/photos/revolver/revolver_cartouche_pleine.jpg' import revolverBalls from '@/assets/guide-identification/photos/revolver/revolver_cartouche_bille.jpg' + +import { useStore } from '@/stores/steps' +const store = useStore() + /* Revolvers Revolver Enfield - Webley - brisure diff --git a/frontend/src/views/GuideSecuringFirearm/SecuringAchievement.vue b/frontend/src/views/GuideSecuringFirearm/SecuringAchievement.vue index b2a55a580..2629f843a 100644 --- a/frontend/src/views/GuideSecuringFirearm/SecuringAchievement.vue +++ b/frontend/src/views/GuideSecuringFirearm/SecuringAchievement.vue @@ -22,7 +22,7 @@ function goToMissingCardPageIfMissing () {