ngx-deebodata 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -724,6 +724,10 @@ class DataTableService {
|
|
|
724
724
|
if (ddVals && ddVals.length) {
|
|
725
725
|
const chkdVs = ddVals.filter((d) => d.checked).
|
|
726
726
|
map((v) => typeof v.value === "string" ? v.value.toLocaleLowerCase() : v.value);
|
|
727
|
+
if (chkdVs.length === ddVals.length) {
|
|
728
|
+
chkdVs.push(null);
|
|
729
|
+
chkdVs.push("");
|
|
730
|
+
}
|
|
727
731
|
return chkdVs.indexOf(colVal) > -1;
|
|
728
732
|
}
|
|
729
733
|
else {
|
|
@@ -741,6 +745,10 @@ class DataTableService {
|
|
|
741
745
|
if (ddVals && ddVals.length) {
|
|
742
746
|
const chkdVs = ddVals.filter((d) => d.checked).
|
|
743
747
|
map((v) => typeof v.value === "string" ? v.value.toLocaleLowerCase() : v.value);
|
|
748
|
+
if (chkdVs.length === ddVals.length) {
|
|
749
|
+
chkdVs.push(null);
|
|
750
|
+
chkdVs.push("");
|
|
751
|
+
}
|
|
744
752
|
return chkdVs.indexOf(colVal) > -1;
|
|
745
753
|
}
|
|
746
754
|
else {
|