@bjsdistribution/dms-client-return 0.0.47 → 0.0.48

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.47",
2
+ "version": "0.0.48",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -272,7 +272,7 @@ function SelectionFilter() {
272
272
  useEffect(() => {
273
273
  if (clearState) {
274
274
  dispatch({ type: 'CLEAR_CLIENT' });
275
- window.location.href = '/returnclient';
275
+ window.location.href = '/order/return';
276
276
  }
277
277
  }, [clearState]);
278
278
 
@@ -138,10 +138,10 @@ const ReturnTable: React.FC = () => {
138
138
  customerId: customerId?.toString(),
139
139
  });
140
140
  //for dev
141
- navigate(`filter?${queryParams.toString()}`);
141
+ //navigate(`filter?${queryParams.toString()}`);
142
142
 
143
143
  //for local
144
- //navigate(`/filter?${queryParams.toString()}`);
144
+ navigate(`/filter?${queryParams.toString()}`);
145
145
  };
146
146
 
147
147
  //for RTS
@@ -167,10 +167,10 @@ const ReturnTable: React.FC = () => {
167
167
  type: RTS,
168
168
  });
169
169
  //for dev
170
- navigate(`filter?${queryParams.toString()}`);
170
+ //navigate(`filter?${queryParams.toString()}`);
171
171
 
172
172
  //for local
173
- //navigate(`/filter?${queryParams.toString()}`);
173
+ navigate(`/filter?${queryParams.toString()}`);
174
174
  };
175
175
 
176
176
  return (
@@ -114,7 +114,7 @@ const ModalManager = () => {
114
114
  // navigate('/order-return');
115
115
 
116
116
  // for dev
117
- navigate('/returnclient/order-return');
117
+ navigate('/order/return/view');
118
118
  }
119
119
  }, [postLoading]);
120
120