Removed unused persons data + formatting

This commit is contained in:
neviyn 2018-12-19 15:21:59 +00:00
parent 200ea0cb4d
commit 0b675a4035

View File

@ -185,7 +185,6 @@
title="Enter password to confirm submission"
@ok="handleOk"
@shown="clearPassword">
<b-alert v-if="persons == null || persons.length === 0" variant="warning" show><v-icon name="exclamation-circle" scale="1.5" />&nbsp;No individual names assigned to this observation.</b-alert>
<form @submit.stop.prevent="handleSubmit">
<b-form-input type="password"
placeholder="Enter password"
@ -437,13 +436,6 @@ export default {
}
this.clearPassword();
form.classList.add("was-validated");
},
addPerson() {
this.persons.push(this.personInput);
this.personInput = null;
},
deletePerson: function(index) {
this.persons.splice(index, 1);
}
}
};