Reference error sort is not defined
This commit is contained in:
parent
8f312b02bf
commit
dc4cb25e24
@ -242,8 +242,8 @@ function getSortLabel() {
|
|||||||
let label = sortOptions.data?.find(
|
let label = sortOptions.data?.find(
|
||||||
(option) => option.value === values[0].fieldname
|
(option) => option.value === values[0].fieldname
|
||||||
)?.label
|
)?.label
|
||||||
|
//Reference error sort is not defined
|
||||||
return label || sort.fieldname
|
return label || values[0].fieldname
|
||||||
}
|
}
|
||||||
|
|
||||||
function setSort(data) {
|
function setSort(data) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user