From e561dc7473612b136f43629eb1c70dab6618c70e Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Fri, 31 May 2024 20:04:51 +0200 Subject: [PATCH] Standardize securing footer --- frontend/src/components/ResultPage.vue | 12 +++++----- .../utils/firearms-utils/epaule-a-verrou.ts | 22 ++++++++----------- .../pistolet-semi-auto-moderne.ts | 22 ++++++++----------- frontend/src/utils/firearms-utils/revolver.ts | 22 ++++++++----------- .../semi-auto-style-militaire-autre.ts | 22 ++++++++----------- .../GuideIdentificationFirearm.vue | 6 ++--- .../IdentificationSelectAmmo.vue | 4 ++-- 7 files changed, 47 insertions(+), 63 deletions(-) diff --git a/frontend/src/components/ResultPage.vue b/frontend/src/components/ResultPage.vue index 62b08fb7..1340bc3b 100644 --- a/frontend/src/components/ResultPage.vue +++ b/frontend/src/components/ResultPage.vue @@ -20,7 +20,7 @@ const img = computed(() => resultStore.img) const typology = TYPOLOGIES[resultStore.typology] const isDummy = computed(() => stepsStore.isDummy) -const hasGuideDummy = typology?.guideDummy !== undefined +const hasDummyOptions = typology?.dummyOptions !== undefined const isCardDetected = computed(() => resultStore.gunLength !== null && resultStore.gunBarrelLength !== null) const isUp = ref(false) @@ -75,7 +75,7 @@ function sendFeedback (isCorrect: boolean) {

Typologie de l'arme @@ -144,7 +144,7 @@ function sendFeedback (isCorrect: boolean) { > {{ label }}

-