Merge pull request #451 from RenganathanRiver/patch-1
Reference error sort is not defined
This commit is contained in:
commit
f5df45b44e
@ -244,8 +244,7 @@ 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
|
||||||
|
return label || values[0].fieldname
|
||||||
return label || sort.fieldname
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function setSort(data) {
|
function setSort(data) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user