diff --git a/js/components/forms/to_form.js b/js/components/forms/to_form.js index 0f4f6f45..5255fbb9 100644 --- a/js/components/forms/to_form.js +++ b/js/components/forms/to_form.js @@ -23,7 +23,7 @@ export default { }, data: function() { - const clins = this.initialClinCount == 0 ? [''] : [] + const clins = this.initialClinCount == 0 ? 1 : 0 const clinIndex = this.initialClinCount == 0 ? 0 : this.initialClinCount - 1 return { @@ -34,7 +34,7 @@ export default { methods: { addClin: function(event) { - this.clins.push('') + this.clins = this.clins + 1 this.clinIndex = this.clinIndex + 1 }, },