summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/diff_notes/components/resolve_count.js.es6
blob: 24a99e23132b696721ed31de9c8d5de569203ec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* eslint-disable */
((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);