mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
dont use mapActions
This commit is contained in:
parent
c1e1f65715
commit
21f75c8a63
@ -28,7 +28,7 @@
|
||||
<script>
|
||||
import VueMultiselect from 'vue-multiselect';
|
||||
import { getSocialIssues } from '../api';
|
||||
import { mapState, mapActions } from 'vuex';
|
||||
import { mapState } from 'vuex';
|
||||
|
||||
export default {
|
||||
name: "SocialIssue",
|
||||
@ -54,7 +54,10 @@ export default {
|
||||
resolve();
|
||||
})).catch(error => this.$store.commit('catchError', error));
|
||||
},
|
||||
...mapActions(['updateSocialIssues'])
|
||||
updateSocialIssues(value) {
|
||||
console.log('@@@ CHANGE value', value);
|
||||
this.$store.dispatch('updateSocialIssues', value);
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user