@vention/machine-apps-components 1.18.6 → 1.18.8

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.
Files changed (2) hide show
  1. package/index.esm.js +4 -4
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -7810,8 +7810,8 @@ const LogsPanel = /*#__PURE__*/forwardRef((props, ref) => {
7810
7810
  const [isLoading, setIsLoading] = useState(true);
7811
7811
  const [error, setError] = useState(null);
7812
7812
  const [filters, setFilters] = useState({
7813
- fromDate: (_a = initialFilters === null || initialFilters === void 0 ? void 0 : initialFilters.fromDate) !== null && _a !== void 0 ? _a : null,
7814
- toDate: (_b = initialFilters === null || initialFilters === void 0 ? void 0 : initialFilters.toDate) !== null && _b !== void 0 ? _b : null,
7813
+ fromDate: (_a = initialFilters === null || initialFilters === void 0 ? void 0 : initialFilters.fromDate) !== null && _a !== void 0 ? _a : "",
7814
+ toDate: (_b = initialFilters === null || initialFilters === void 0 ? void 0 : initialFilters.toDate) !== null && _b !== void 0 ? _b : "",
7815
7815
  logType: (_c = initialFilters === null || initialFilters === void 0 ? void 0 : initialFilters.logType) !== null && _c !== void 0 ? _c : null,
7816
7816
  sortOrder: (_d = initialFilters === null || initialFilters === void 0 ? void 0 : initialFilters.sortOrder) !== null && _d !== void 0 ? _d : "latest"
7817
7817
  });
@@ -7880,8 +7880,8 @@ const LogsPanel = /*#__PURE__*/forwardRef((props, ref) => {
7880
7880
  }, [onFilterChange, paginationMode]);
7881
7881
  const handleReset = useCallback(() => {
7882
7882
  const resetFilters = {
7883
- fromDate: null,
7884
- toDate: null,
7883
+ fromDate: "",
7884
+ toDate: "",
7885
7885
  logType: null,
7886
7886
  sortOrder: "latest"
7887
7887
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vention/machine-apps-components",
3
- "version": "1.18.6",
3
+ "version": "1.18.8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/VentionCo/machine-cloud.git"