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>
|
<script>
|
||||||
import VueMultiselect from 'vue-multiselect';
|
import VueMultiselect from 'vue-multiselect';
|
||||||
import { getSocialIssues } from '../api';
|
import { getSocialIssues } from '../api';
|
||||||
import { mapState, mapActions } from 'vuex';
|
import { mapState } from 'vuex';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "SocialIssue",
|
name: "SocialIssue",
|
||||||
@ -54,7 +54,10 @@ export default {
|
|||||||
resolve();
|
resolve();
|
||||||
})).catch(error => this.$store.commit('catchError', error));
|
})).catch(error => this.$store.commit('catchError', error));
|
||||||
},
|
},
|
||||||
...mapActions(['updateSocialIssues'])
|
updateSocialIssues(value) {
|
||||||
|
console.log('@@@ CHANGE value', value);
|
||||||
|
this.$store.dispatch('updateSocialIssues', value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user