@bjsdistribution/dms-client-return 0.0.7 → 0.0.8

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.
@@ -10656,7 +10656,7 @@ function ReturnClient() {
10656
10656
  useEffect(function () {
10657
10657
  if (selectedClient) {
10658
10658
  var selectedClientString = selectedClient.replace(/\s+/g, '-');
10659
- navigate("returnclient/return/" + selectedClientString);
10659
+ navigate("return/" + selectedClientString);
10660
10660
  }
10661
10661
  }, [selectedClient, navigate]);
10662
10662
  return React.createElement(Suspense, {
@@ -10671,12 +10671,12 @@ function ReturnClient() {
10671
10671
  path: "order-return/:id",
10672
10672
  element: React.createElement(OrderView, null)
10673
10673
  }), React.createElement(Route, {
10674
- path: "returnclient/return/:selectedClient",
10674
+ path: "return/:selectedClient",
10675
10675
  element: React.createElement(ReturnTable, null)
10676
10676
  }), React.createElement(Route, {
10677
10677
  path: "",
10678
10678
  element: selectedClient ? React.createElement(Navigate, {
10679
- to: "returnclient/return/" + selectedClient
10679
+ to: "return/" + selectedClient
10680
10680
  }) : React.createElement(ReturnMainTable, null)
10681
10681
  })));
10682
10682
  }