18 lines
366 B
JavaScript
18 lines
366 B
JavaScript
((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);
|