[FIX] GENERAL: Group By field sometimes not targeting the option tag show label

This commit is contained in:
Horilla
2023-12-08 14:16:35 +05:30
parent fb404212a8
commit 5ae49bdec2

View File

@@ -42,8 +42,8 @@
}
}
function fieldLabel(value, field) {
if (field == "field") {
return $(`[value="${value}"]`).html();
if (field == "field") {
return $(`option[value="${value}"]`).html();
}
return value;
}