prepare close participation button (wip)

This commit is contained in:
2021-05-05 15:03:58 +02:00
parent f89c690f1b
commit c20e9507d5
4 changed files with 29 additions and 21 deletions

View File

@@ -43,6 +43,9 @@
v-bind:item="item"
v-bind:key="item.id">
</person-suggestion>
<button v-if="query.length >= 3" class="sc-button bt-create ml-5 mt-2" name="createPerson">
Ajouter "{{ query }}"
</button>
</div>
</template>
@@ -112,17 +115,6 @@ export default {
addPersons() {
console.log('add persons');
// code here
/*
addPerson() {
console.log('[wip] opening add persons modal');
this.$store.dispatch('addParticipation', {
id: SimpsonId++,
person: { firstName: "Lisa", lastName: "Simpson", id: SimpsonId },
startDate: { datetime: "1975-09-15T00:00:00+0100" },
endDate: { datetime: "1975-09-28T00:00:00+0100" },
})
},
*/
this.modal.showModal = false;
}
}