Procházet zdrojové kódy

fix multiple competence registration

tripeur před 4 roky
rodič
revize
4e0afab16f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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",