Removed unused persons data + formatting
This commit is contained in:
parent
200ea0cb4d
commit
0b675a4035
@ -185,7 +185,6 @@
|
|||||||
title="Enter password to confirm submission"
|
title="Enter password to confirm submission"
|
||||||
@ok="handleOk"
|
@ok="handleOk"
|
||||||
@shown="clearPassword">
|
@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"
|
<b-form-input type="password"
|
||||||
placeholder="Enter password"
|
placeholder="Enter password"
|
||||||
@ -437,13 +436,6 @@ export default {
|
|||||||
}
|
}
|
||||||
this.clearPassword();
|
this.clearPassword();
|
||||||
form.classList.add("was-validated");
|
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