when passed option uniq, suggestions are with radio button, not checkbox

This commit is contained in:
2021-05-12 15:26:46 +02:00
parent 4fb487dcef
commit 6da8f1c107
3 changed files with 12 additions and 12 deletions

View File

@@ -104,10 +104,7 @@ export default {
},
addNewPersons({ selected, modal }) {
console.log('@@@ CLICK button addNewPersons', selected);
selected.forEach(function(item) {
this.$store.dispatch('addRequestor', item);
}, this
);
this.$store.dispatch('addRequestor', selected);
this.$refs.addPersons.resetSearch(); // to cast child method
modal.showModal = false;
}