fix: remove error for undefined sort_by in kanban view
This commit is contained in:
parent
cebc060714
commit
895474e3bf
|
@ -282,7 +282,7 @@ export default {
|
||||||
computed: {
|
computed: {
|
||||||
sortAlphabetically: {
|
sortAlphabetically: {
|
||||||
get() {
|
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) {
|
set(sortAlphabetically) {
|
||||||
this.params.sort_by = sortAlphabetically
|
this.params.sort_by = sortAlphabetically
|
||||||
|
|
Reference in New Issue