Removed unused persons data + formatting
This commit is contained in:
parent
200ea0cb4d
commit
0b675a4035
@ -185,8 +185,7 @@
|
||||
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" /> No individual names assigned to this observation.</b-alert>
|
||||
<form @submit.stop.prevent="handleSubmit">
|
||||
<form @submit.stop.prevent="handleSubmit">
|
||||
<b-form-input type="password"
|
||||
placeholder="Enter password"
|
||||
v-model="submitPassword"></b-form-input>
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user