debian-mirror-gitlab/app/assets/javascripts/diffs/mixins/image_diff.js

14 lines
283 B
JavaScript
Raw Normal View History

2019-07-31 22:56:46 +05:30
import { mapActions } from 'vuex';
export default {
methods: {
...mapActions(['toggleDiscussion']),
clickedToggle(discussion) {
this.toggleDiscussion({ discussionId: discussion.id });
},
toggleText(discussion, index) {
return index + 1;
},
},
};