afficher la reponse au lieu de l'id

front
Gwenael PLANCHON 1 year ago
parent 8727f38c10
commit 783ea67092

@ -126,7 +126,8 @@ export default {
repondre(reponse){
this.kahootAPI.repondreQuestion(reponse).then()
this.question.question=`Réponse "${reponse}" envoyée`
const reponseEnvoyee=this.question.reponses.find(r=>r.id==reponse).reponse
this.question.question=`Réponse "${reponseEnvoyee}" envoyée`
this.question.reponses=[]
},
calculerCompteARebours(){

Loading…
Cancel
Save