1
0
forked from test/crm

Merge pull request #451 from RenganathanRiver/patch-1

Reference error sort is not defined
This commit is contained in:
Shariq Ansari 2024-12-10 19:27:10 +05:30 committed by GitHub
commit f5df45b44e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {