Explorar o código

fix inscription undefined comment

tripeur %!s(int64=4) %!d(string=hai) anos
pai
achega
c3333caeaa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/Questionaire.vue

+ 1 - 1
src/components/Questionaire.vue

@@ -184,7 +184,7 @@ export default defineComponent({
       }
       this.comment = this.questions
         .filter((q) => q.type == "text")
-        .map((q) => q.title + " : " + this.commentObject[q.uuid])
+        .map((q) => q.title + " : " + (this.commentObject[q.uuid] ?? ""))
         .join("\n\r");
       const benevole: BenevoleJSON = {
         name: this.name,