@copart/ops-tool-kit 1.12.6-alpha.3 → 1.12.6
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 +5 -5
- package/dist/ops-tool-kit.js.map +1 -1
- package/package.json +1 -1
package/dist/ops-tool-kit.js
CHANGED
|
@@ -47,7 +47,7 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
|
47
47
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
48
48
|
|
|
49
49
|
const name$r = "@copart/ops-tool-kit";
|
|
50
|
-
const version$8 = "1.12.6
|
|
50
|
+
const version$8 = "1.12.6";
|
|
51
51
|
const main$1 = "dist/ops-tool-kit.js";
|
|
52
52
|
const style = "dist/ops-tool-kit.css";
|
|
53
53
|
const files = [
|
|
@@ -35534,15 +35534,15 @@ var getFireBaseNotifications = function getFireBaseNotifications(updateNotificat
|
|
|
35534
35534
|
|
|
35535
35535
|
var fetchAvailableStatuses = /*#__PURE__*/function () {
|
|
35536
35536
|
var _ref = _asyncToGenerator$1(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
35537
|
-
var coreAppConfig, endpoints,
|
|
35537
|
+
var coreAppConfig, endpoints, email, endpoint, res, availableStatuses, _t;
|
|
35538
35538
|
return _regenerator().w(function (_context) {
|
|
35539
35539
|
while (1) switch (_context.p = _context.n) {
|
|
35540
35540
|
case 0:
|
|
35541
35541
|
coreAppConfig = storage$1.getLocalItem('opsportal-core:config');
|
|
35542
35542
|
endpoints = coreAppConfig.endpoints;
|
|
35543
|
-
|
|
35544
|
-
endpoint = frontEndUtils.string.substitute(endpoints.
|
|
35545
|
-
|
|
35543
|
+
email = storage$1.userEmail || '';
|
|
35544
|
+
endpoint = frontEndUtils.string.substitute(endpoints.getAvailableStatusesByUser, {
|
|
35545
|
+
email: email
|
|
35546
35546
|
});
|
|
35547
35547
|
_context.p = 1;
|
|
35548
35548
|
_context.n = 2;
|