Browse Source

fix multiple competence registration

tripeur 4 years ago
parent
commit
4e0afab16f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/Questionaire.vue

+ 1 - 1
src/components/Questionaire.vue

@@ -192,7 +192,7 @@ export default defineComponent({
         phone: this.phone,
         email: this.email,
         comment: this.comment,
-        competenceIdList: this.competenceIdList,
+        competenceIdList: Array.from(new Set(this.competenceIdList)),
       };
       fetch(`${API_URL}api/inscription/${this.uuid}`, {
         method: "PUT",