@annalib/anna-core 5.2.1 → 5.2.2

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.
@@ -1303,7 +1303,7 @@ class AnnaFilterService {
1303
1303
  isTooltipActive(header, sortMap) {
1304
1304
  let set = new Set(this.appliedFiltersArray);
1305
1305
  if (header.length == 1) {
1306
- return ((sortMap.size > 0 && sortMap.get(header[0]) != "DEFAULT") || set.has(header[0]));
1306
+ return ((sortMap.size > 0 && sortMap.has(header[0]) && sortMap.get(header[0]) != "DEFAULT") || set.has(header[0]));
1307
1307
  }
1308
1308
  // return ( (sortMap.size > 0 && sortMap.get(header[0]) != "DEFAULT") || (sortMap.size > 0 && sortMap.get(header[1]) != "DEFAULT") || set.has(header[0]) || set.has(header[1]));
1309
1309
  return ((sortMap.size > 0 && sortMap.has(header[0]) && sortMap.get(header[0]) != "DEFAULT") || (sortMap.size > 0 && sortMap.has(header[1]) && sortMap.get(header[1]) != "DEFAULT") || set.has(header[0]) || set.has(header[1]));