mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
AddPersons in activity
* modal button dont submit all form * addNewPersons action mutation loop ready
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
v-bind:key="addPersons.key"
|
||||
v-bind:options="addPersons.options"
|
||||
@addNewPersons="addNewPersons"
|
||||
ref="addPersons"> <!-- to cast child method -->
|
||||
ref="addPersons">
|
||||
</add-persons>
|
||||
</teleport>
|
||||
|
||||
@@ -41,7 +41,7 @@ export default {
|
||||
addNewPersons({ selected, modal }) {
|
||||
console.log('@@@ CLICK button addNewPersons', selected);
|
||||
selected.forEach(function(item) {
|
||||
//this.$store.dispatch('addResource', item);
|
||||
this.$store.dispatch('addPersonsInvolved', item);
|
||||
console.log('item', item);
|
||||
}, this
|
||||
);
|
||||
|
Reference in New Issue
Block a user