config-editor-base 2.9.6 → 2.9.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.
@@ -24718,9 +24718,10 @@ var FilterBuilderTool = /*#__PURE__*/function (_React$Component) {
24718
24718
  }
24719
24719
  var defaultFilters;
24720
24720
  var isCanmodRouter = this.isCanmodRouter();
24721
+ var isGnssDevice = formData && formData.gnss !== undefined;
24721
24722
  if (deviceType === "CANmod" && isCanmodRouter) {
24722
24723
  defaultFilters = canmodRouterDefaultFilters;
24723
- } else if (deviceType && deviceType.includes("GNSS")) {
24724
+ } else if (isGnssDevice) {
24724
24725
  defaultFilters = canedgeDefaultFiltersGps;
24725
24726
  } else {
24726
24727
  defaultFilters = canedgeDefaultFilters;