@dexteel/mesf-core 7.20.0 → 7.20.1

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.
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "7.20.0"
2
+ ".": "7.20.1"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [7.20.1](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v7.20.0...@dexteel/mesf-core-v7.20.1) (2026-04-20)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **Shift Navigator:** Use production date of last shift as maxDate instead of now. ([5677435](https://github.com/dexteel/mesf-core-frontend/commit/56774355e310a96acf99a5d2cbb7d2cebc474586))
9
+
3
10
  ## [7.20.0](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v7.19.1...@dexteel/mesf-core-v7.20.0) (2026-04-17)
4
11
 
5
12
 
package/dist/index.esm.js CHANGED
@@ -5803,7 +5803,7 @@ const ShiftDayNavigatorControl = (_a) => {
5803
5803
  }, size: "small" },
5804
5804
  React__default.createElement(ArrowBackRounded, null)))),
5805
5805
  React__default.createElement(Grid2, { size: "auto" },
5806
- React__default.createElement(DatePicker, { label: "Current Date", timezone: "UTC", format: "MM/DD/YYYY", maxDate: moment$h(), closeOnSelect: true, formatDensity: "dense", value: moment$h(shiftInfo === null || shiftInfo === void 0 ? void 0 : shiftInfo.CurrentProductionDate), onChange: (date) => {
5806
+ React__default.createElement(DatePicker, { label: "Current Date", timezone: "UTC", format: "MM/DD/YYYY", maxDate: moment$h(shiftInfo === null || shiftInfo === void 0 ? void 0 : shiftInfo.LastProductionDate) || moment$h(), closeOnSelect: true, formatDensity: "dense", value: moment$h(shiftInfo === null || shiftInfo === void 0 ? void 0 : shiftInfo.CurrentProductionDate), onChange: (date) => {
5807
5807
  if (date) {
5808
5808
  getShiftDataFromAPI(date.toDate(), 0, assetId).then(() => { });
5809
5809
  }