Skip to content

Commit

Permalink
fix: 🐛 fix disclaimer display on dummy weapons
Browse files Browse the repository at this point in the history
  • Loading branch information
nutfdt committed Jul 16, 2024
1 parent 1746cfd commit 2a8a27c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ declare module "vue" {
copy: (typeof import("./components/authentification/AuthRedirect copy.vue"))["default"];
DsfrAlert: (typeof import("@gouvminint/vue-dsfr"))["DsfrAlert"];
DsfrButton: (typeof import("@gouvminint/vue-dsfr"))["DsfrButton"];
DsfrCheckbox: (typeof import("@gouvminint/vue-dsfr"))["DsfrCheckbox"];
DsfrFileUpload: (typeof import("@gouvminint/vue-dsfr"))["DsfrFileUpload"];
DsfrHeader: (typeof import("@gouvminint/vue-dsfr"))["DsfrHeader"];
DsfrInput: (typeof import("@gouvminint/vue-dsfr"))["DsfrInput"];
DsfrModal: (typeof import("@gouvminint/vue-dsfr"))["DsfrModal"];
DsfrPicture: (typeof import("@gouvminint/vue-dsfr"))["DsfrPicture"];
DsfrRadioButton: (typeof import("@gouvminint/vue-dsfr"))["DsfrRadioButton"];
DsfrSelect: (typeof import("@gouvminint/vue-dsfr"))["DsfrSelect"];
DsfrTag: (typeof import("@gouvminint/vue-dsfr"))["DsfrTag"];
HeaderMain: (typeof import("./components/HeaderMain.vue"))["default"];
MissingCardAlert: (typeof import("./components/MissingCardAlert.vue"))["default"];
OnboardingSwiper: (typeof import("./components/OnboardingSwiper.vue"))["default"];
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/ResultPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ function sendFeedback(isCorrect: boolean) {
v-if="
disclaimer &&
confidenceLevel !== 'low' &&
isDummy == false &&
($route.name !== 'IdentificationTypologyResult' ||
!hasDummyOptions)
"
Expand Down

0 comments on commit 2a8a27c

Please sign in to comment.