@bjsdistribution/dms-client-return 0.0.45 → 0.0.46

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.
@@ -3443,7 +3443,7 @@ var renderIcon = function renderIcon(value, orderStatus) {
3443
3443
  }
3444
3444
  };
3445
3445
  var BoxContainer = /*#__PURE__*/styled__default.div(_templateObject$S || (_templateObject$S = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n border: 1px solid #e3e3e3;\n display: flex;\n justify-content: space-evenly;\n border-radius: 8px;\n background: #f8fafc;\n align-items: center;\n height: 5%;\n"])));
3446
- var Heading = /*#__PURE__*/styled__default.div(_templateObject2$F || (_templateObject2$F = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-family: 'lato', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 18px;\n"])));
3446
+ var Heading = /*#__PURE__*/styled__default.div(_templateObject2$F || (_templateObject2$F = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-family: 'lato', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 18px;\n text-transform: uppercase;\n"])));
3447
3447
  var Container$A = /*#__PURE__*/styled__default.div(_templateObject3$l || (_templateObject3$l = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 15px;\n margin-top: 25px;\n"])));
3448
3448
  var TextContainer$1 = /*#__PURE__*/styled__default.div(_templateObject4$9 || (_templateObject4$9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n gap: 10px;\n display: flex;\n align-items: center;\n"])));
3449
3449
 
@@ -8975,10 +8975,13 @@ function SelectionFilter() {
8975
8975
  var queryParams = new URLSearchParams({
8976
8976
  customerId: selectedClient == null ? void 0 : selectedClient.toString()
8977
8977
  });
8978
- //for dev
8979
- navigate("filter?" + queryParams.toString());
8980
- //for local
8981
- //navigate(`/filter?${queryParams.toString()}`);
8978
+ var currentSearch = window.location.search;
8979
+ if (!currentSearch.includes('filter')) {
8980
+ // for dev
8981
+ navigate("filter?" + queryParams.toString());
8982
+ // for local
8983
+ // navigate(`/filter?${queryParams.toString()}`);
8984
+ }
8982
8985
  }
8983
8986
  var selectedClientValue = clientOptions == null ? void 0 : clientOptions.find(function (client) {
8984
8987
  return (client == null ? void 0 : client.value) === selectedClient;