mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
default value of vote added
This commit is contained in:
parent
4464a0af2c
commit
cbc4bd8f5d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user