forked from tykayn/funky-framadate-front
default value of vote added
This commit is contained in:
parent
4464a0af2c
commit
cbc4bd8f5d
@ -1,6 +1,6 @@
|
|||||||
export class Vote {
|
export class Vote {
|
||||||
public choice_id: number;
|
public choice_id: number = 0;
|
||||||
public value: string; // valeur de réponse
|
public value: string = ''; // valeur de réponse
|
||||||
|
|
||||||
constructor(choice_id?) {
|
constructor(choice_id?) {
|
||||||
if (choice_id) {
|
if (choice_id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user