Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2020-05-03 10:15:16 +0300
committerdartcafe <github@dartcafe.de>2020-05-03 10:15:16 +0300
commit80fa6e94b367e8d11362b39815773698c136d5f0 (patch)
tree137d3159f2705c31c438d657fa45611a83a9535e /src/js/components/Comments/Comments.vue
parentef5e2d4b3ad28b9819d346381cc5fd226fa3d668 (diff)
rename lists in stores
Diffstat (limited to 'src/js/components/Comments/Comments.vue')
-rw-r--r--src/js/components/Comments/Comments.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/js/components/Comments/Comments.vue b/src/js/components/Comments/Comments.vue
index 30d35654..0f341aaf 100644
--- a/src/js/components/Comments/Comments.vue
+++ b/src/js/components/Comments/Comments.vue
@@ -75,7 +75,7 @@ export default {
computed: {
...mapState({
- comments: state => state.comments,
+ comments: state => state.comments.comments,
acl: state => state.acl,
}),
@@ -85,9 +85,9 @@ export default {
sortedList() {
if (this.reverse) {
- return sortBy(this.comments.list, this.sort).reverse()
+ return sortBy(this.comments, this.sort).reverse()
} else {
- return sortBy(this.comments.list, this.sort)
+ return sortBy(this.comments, this.sort)
}
},