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/views/Administration.vue
parentcbeba6e6fcf83dd655a4b9a24afc6ebcf1569bdc (diff)
no-else-return
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/views/Administration.vue')
-rw-r--r--src/js/views/Administration.vue3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/js/views/Administration.vue b/src/js/views/Administration.vue
index 8efebc8d..daa83fac 100644
--- a/src/js/views/Administration.vue
+++ b/src/js/views/Administration.vue
@@ -154,9 +154,8 @@ export default {
sortedList() {
if (this.reverse) {
return sortBy(this.filteredPolls(this.$route.params.type), this.sort).reverse()
- } else {
- return sortBy(this.filteredPolls(this.$route.params.type), this.sort)
}
+ return sortBy(this.filteredPolls(this.$route.params.type), this.sort)
},
noPolls() {