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>2021-04-18 23:39:25 +0300
committerdartcafe <github@dartcafe.de>2021-04-18 23:39:25 +0300
commit2488d3a0e557161e73caa7557bf2f9bce3f74242 (patch)
tree4e2c057ef50aa9aa9723a32f13a6abf4bed27c8c /src/js/components/Comments/Comments.vue
parentcbeba6e6fcf83dd655a4b9a24afc6ebcf1569bdc (diff)
no-else-return
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/Comments/Comments.vue')
-rw-r--r--src/js/components/Comments/Comments.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/components/Comments/Comments.vue b/src/js/components/Comments/Comments.vue
index fa8f6880..9f1530ea 100644
--- a/src/js/components/Comments/Comments.vue
+++ b/src/js/components/Comments/Comments.vue
@@ -53,9 +53,9 @@ export default {
sortedList() {
if (this.reverse) {
return sortBy(this.comments, this.sort).reverse()
- } else {
- return sortBy(this.comments, this.sort)
}
+ return sortBy(this.comments, this.sort)
+
},
},