default value of vote added

This commit is contained in:
tykayn 2021-04-28 12:24:41 +02:00 committed by Baptiste Lemoine
parent 4464a0af2c
commit cbc4bd8f5d

View File

@ -1,6 +1,6 @@
export class Vote {
public choice_id: number;
public value: string; // valeur de réponse
public choice_id: number = 0;
public value: string = ''; // valeur de réponse
constructor(choice_id?) {
if (choice_id) {