@bjsdistribution/dms-client-return 0.0.29 → 0.0.30

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.29",
2
+ "version": "0.0.30",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -95,10 +95,10 @@ function SelectionFilter() {
95
95
  // storedName(selectedLabel);
96
96
  //set items in local storage
97
97
  localStorage.setItem('clientName', selectedLabel);
98
- localStorage.setItem('clientId', selectedValue.toString());
98
+ localStorage.setItem('clientId', selectedValue?.toString());
99
99
  localStorage.setItem('account_number', selectAccountNumber);
100
100
  localStorage.setItem('uuid', selectedUuids);
101
- localStorage.setItem('customer_id', selectedCustomerId.toString());
101
+ localStorage.setItem('customer_id', selectedCustomerId?.toString());
102
102
  const storedAccNo = localStorage.getItem('account_number');
103
103
  const storedCustomerId = localStorage.getItem('customer_id');
104
104
  const storedUuid = localStorage.getItem('uuid');