survey-analytics 2.0.3 → 2.0.4

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.
package/fesm/shared.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.0.3
2
+ * surveyjs - SurveyJS Dashboard library v2.0.4
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.0.3
2
+ * surveyjs - SurveyJS Dashboard library v2.0.4
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.0.3
2
+ * surveyjs - SurveyJS Dashboard library v2.0.4
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1433,7 +1433,9 @@ class Tabulator extends Table {
1433
1433
  applyFilter(value) {
1434
1434
  var customFilter = (data, filterParams) => {
1435
1435
  for (var key in data) {
1436
- if (data[key].toLowerCase().includes(filterParams.value.toLowerCase())) {
1436
+ if (data[key] &&
1437
+ typeof data[key] === "string" &&
1438
+ data[key].toLowerCase().includes(filterParams.value.toLowerCase())) {
1437
1439
  return true;
1438
1440
  }
1439
1441
  }