@copart/ops-tool-kit 1.11.8 → 1.11.10

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.
@@ -33,7 +33,7 @@ var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
33
33
  var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
34
34
 
35
35
  const name$r = "@copart/ops-tool-kit";
36
- const version$7 = "1.11.8";
36
+ const version$7 = "1.11.10";
37
37
  const main$1 = "dist/ops-tool-kit.js";
38
38
  const style = "dist/ops-tool-kit.css";
39
39
  const files = [
@@ -5374,22 +5374,23 @@ var getConfig = /*#__PURE__*/function () {
5374
5374
  response = _context.sent;
5375
5375
  config = response.data.data; // Fill in values needed for access checks.
5376
5376
  config.tiles = hydrateTiles(config.tiles);
5377
+ config.tileOverrides = hydrateTiles(config.tileOverrides);
5377
5378
  return _context.abrupt("return", config);
5378
- case 11:
5379
- _context.prev = 11;
5379
+ case 12:
5380
+ _context.prev = 12;
5380
5381
  _context.t0 = _context["catch"](0);
5381
5382
  if (!JSON.stringify(_context.t0.response.data).includes('503')) {
5382
- _context.next = 17;
5383
+ _context.next = 18;
5383
5384
  break;
5384
5385
  }
5385
5386
  return _context.abrupt("return", Promise.reject(new Error('Fetch Error, Please make sure you are on the Copart network')));
5386
- case 17:
5387
- Promise.reject(_context.t0);
5388
5387
  case 18:
5388
+ Promise.reject(_context.t0);
5389
+ case 19:
5389
5390
  case "end":
5390
5391
  return _context.stop();
5391
5392
  }
5392
- }, _callee, null, [[0, 11]]);
5393
+ }, _callee, null, [[0, 12]]);
5393
5394
  }));
5394
5395
  return function getConfig(_x) {
5395
5396
  return _ref.apply(this, arguments);
@@ -5411,8 +5412,8 @@ var findAppData = function findAppData() {
5411
5412
  var tiles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
5412
5413
  var tileOverrides = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
5413
5414
  var matchingTiles = [];
5414
- matchingTiles.concat(tileOverrides.filter(tileFilter));
5415
- matchingTiles.concat(tiles.filter(tileFilter));
5415
+ matchingTiles = matchingTiles.concat(tileOverrides.filter(tileFilter));
5416
+ matchingTiles = matchingTiles.concat(tiles.filter(tileFilter));
5416
5417
  if (matchingTiles.length > 1) {
5417
5418
  var currentLocation = window.location.pathname;
5418
5419
  return matchingTiles.find(function (tile) {