feat/alphabetical-sort #1162
|
@ -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
|
||||
|
|
Reference in New Issue