@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.
@@ -3435,7 +3435,7 @@ var renderIcon = function renderIcon(value, orderStatus) {
3435
3435
  }
3436
3436
  };
3437
3437
  var BoxContainer = /*#__PURE__*/styled.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"])));
3438
- var Heading = /*#__PURE__*/styled.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"])));
3438
+ var Heading = /*#__PURE__*/styled.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"])));
3439
3439
  var Container$A = /*#__PURE__*/styled.div(_templateObject3$l || (_templateObject3$l = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 15px;\n margin-top: 25px;\n"])));
3440
3440
  var TextContainer$1 = /*#__PURE__*/styled.div(_templateObject4$9 || (_templateObject4$9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n gap: 10px;\n display: flex;\n align-items: center;\n"])));
3441
3441
 
@@ -8967,10 +8967,13 @@ function SelectionFilter() {
8967
8967
  var queryParams = new URLSearchParams({
8968
8968
  customerId: selectedClient == null ? void 0 : selectedClient.toString()
8969
8969
  });
8970
- //for dev
8971
- navigate("filter?" + queryParams.toString());
8972
- //for local
8973
- //navigate(`/filter?${queryParams.toString()}`);
8970
+ var currentSearch = window.location.search;
8971
+ if (!currentSearch.includes('filter')) {
8972
+ // for dev
8973
+ navigate("filter?" + queryParams.toString());
8974
+ // for local
8975
+ // navigate(`/filter?${queryParams.toString()}`);
8976
+ }
8974
8977
  }
8975
8978
  var selectedClientValue = clientOptions == null ? void 0 : clientOptions.find(function (client) {
8976
8979
  return (client == null ? void 0 : client.value) === selectedClient;