debian-mirror-gitlab/app/assets/javascripts/diff_notes/components/resolve_count.js.es6

19 lines
366 B
JavaScript
Raw Normal View History

2016-09-13 17:45:13 +05:30
((w) => {
w.ResolveCount = Vue.extend({
mixins: [DiscussionMixins],
props: {
loggedOut: Boolean
},
data: function () {
return {
discussions: CommentsStore.state
};
},
computed: {
allResolved: function () {
return this.resolvedDiscussionCount === this.discussionCount;
}
}
});
})(window);