FIX: setter must return the value
This commit is contained in:
parent
127f6fcea0
commit
3149f07edc
|
@ -19,7 +19,9 @@ export default {
|
|||
return fields && fields.enable_accepted_answers === "true";
|
||||
},
|
||||
set(value) {
|
||||
this.set("custom_fields.enable_accepted_answers", value ? "true" : "false");
|
||||
value = value ? "true" : "false";
|
||||
this.set("custom_fields.enable_accepted_answers", value);
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue