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(
|
||||
(option) => option.value === values[0].fieldname,
|
||||
)?.label
|
||||
|
||||
return label || sort.fieldname
|
||||
return label || values[0].fieldname
|
||||
}
|
||||
|
||||
function setSort(data) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user