@copart/ops-tool-kit 1.10.0-alpha.12 → 1.10.0-alpha.13
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/dist/ops-tool-kit.js +4 -3
- package/dist/ops-tool-kit.js.map +1 -1
- package/package.json +1 -1
package/dist/ops-tool-kit.js
CHANGED
|
@@ -33,7 +33,7 @@ var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
|
33
33
|
var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
|
|
34
34
|
|
|
35
35
|
const name$e = "@copart/ops-tool-kit";
|
|
36
|
-
const version$3 = "1.10.0-alpha.
|
|
36
|
+
const version$3 = "1.10.0-alpha.13";
|
|
37
37
|
const main = "dist/ops-tool-kit.js";
|
|
38
38
|
const style = "dist/ops-tool-kit.css";
|
|
39
39
|
const files = [
|
|
@@ -32440,7 +32440,7 @@ var AppBar = function AppBar(_ref) {
|
|
|
32440
32440
|
|
|
32441
32441
|
if (response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.found) {
|
|
32442
32442
|
console.log(response === null || response === void 0 ? void 0 : (_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : _response$data2.release);
|
|
32443
|
-
latestReleaseFromStorage = storage$1.getLocalItem("
|
|
32443
|
+
latestReleaseFromStorage = storage$1.getLocalItem("".concat(app, ":latestRelease"));
|
|
32444
32444
|
|
|
32445
32445
|
if ((response === null || response === void 0 ? void 0 : (_response$data3 = response.data) === null || _response$data3 === void 0 ? void 0 : (_response$data3$relea = _response$data3.release) === null || _response$data3$relea === void 0 ? void 0 : _response$data3$relea.id) !== (latestReleaseFromStorage === null || latestReleaseFromStorage === void 0 ? void 0 : (_latestReleaseFromSto = latestReleaseFromStorage.release) === null || _latestReleaseFromSto === void 0 ? void 0 : _latestReleaseFromSto.id)) {
|
|
32446
32446
|
setLatestRelease(response === null || response === void 0 ? void 0 : (_response$data4 = response.data) === null || _response$data4 === void 0 ? void 0 : _response$data4.release);
|
|
@@ -32480,7 +32480,8 @@ var AppBar = function AppBar(_ref) {
|
|
|
32480
32480
|
release: latestRelease,
|
|
32481
32481
|
viewedDate: new Date()
|
|
32482
32482
|
};
|
|
32483
|
-
|
|
32483
|
+
var app = mihelpAppPath || 'g2-portal';
|
|
32484
|
+
storage$1.setLocalItem("".concat(app, ":latestRelease"), releasedata);
|
|
32484
32485
|
setLatestRelease(null);
|
|
32485
32486
|
setShowMihelpTooltip(true);
|
|
32486
32487
|
setTimeout(function () {
|