feat/alphabetical-sort #1162

Merged
dpschen merged 9 commits from :feat/alphabetical-sort into main 2021-12-21 16:29:50 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 895474e3bf - Show all commits

View File

@ -282,7 +282,7 @@ export default {
computed: {
sortAlphabetically: {
get() {
return this.params.sort_by.find(sortBy => sortBy === ALPHABETICAL_SORT) !== undefined
return this.params?.sort_by?.find(sortBy => sortBy === ALPHABETICAL_SORT) !== undefined
},
set(sortAlphabetically) {
this.params.sort_by = sortAlphabetically