diff options
author | dartcafe <github@dartcafe.de> | 2021-04-18 23:39:25 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-04-18 23:39:25 +0300 |
commit | 2488d3a0e557161e73caa7557bf2f9bce3f74242 (patch) | |
tree | 4e2c057ef50aa9aa9723a32f13a6abf4bed27c8c /src/js/views/PollList.vue | |
parent | cbeba6e6fcf83dd655a4b9a24afc6ebcf1569bdc (diff) |
no-else-return
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/views/PollList.vue')
-rw-r--r-- | src/js/views/PollList.vue | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/js/views/PollList.vue b/src/js/views/PollList.vue index bff3b640..0dd41d74 100644 --- a/src/js/views/PollList.vue +++ b/src/js/views/PollList.vue @@ -144,9 +144,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() { |