diff --git a/frontend/src/components/EntityBulkAdd.vue b/frontend/src/components/EntityBulkAdd.vue index 35407fa..d513191 100644 --- a/frontend/src/components/EntityBulkAdd.vue +++ b/frontend/src/components/EntityBulkAdd.vue @@ -7,7 +7,8 @@ @click="closeForm(form.props.id)"/> - +
@@ -19,73 +20,73 @@ + + +async function addEntityForm() { + entityForms.value.push(generateEntityForm(entityForms.value.length)); +} - \ No newline at end of file +function closeForm(formId) { + entityForms.value = entityForms.value.filter(e => formId !== e.props.id); +} + \ No newline at end of file