@bjsdistribution/dms-client-return 0.0.36 → 0.0.37

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.
@@ -8924,19 +8924,19 @@ function SelectionFilter() {
8924
8924
  });
8925
8925
  if (filteredClient) {
8926
8926
  var _filteredClient$actio, _filteredClient$retur;
8927
- var mappedActions = filteredClient == null || (_filteredClient$actio = filteredClient.actions) == null ? void 0 : _filteredClient$actio.map(function (action) {
8927
+ var mappedActions = Array.isArray(filteredClient == null ? void 0 : filteredClient.actions) ? filteredClient == null || (_filteredClient$actio = filteredClient.actions) == null ? void 0 : _filteredClient$actio.map(function (action) {
8928
8928
  return {
8929
8929
  label: action,
8930
8930
  value: action
8931
8931
  };
8932
- });
8932
+ }) : [];
8933
8933
  setActionTypeOptions(mappedActions);
8934
- var mappedLocations = filteredClient == null || (_filteredClient$retur = filteredClient.return_locations) == null ? void 0 : _filteredClient$retur.map(function (location) {
8934
+ var mappedLocations = Array.isArray(filteredClient == null ? void 0 : filteredClient.return_locations) ? filteredClient == null || (_filteredClient$retur = filteredClient.return_locations) == null ? void 0 : _filteredClient$retur.map(function (location) {
8935
8935
  return {
8936
8936
  label: location,
8937
8937
  value: location
8938
8938
  };
8939
- });
8939
+ }) : [];
8940
8940
  setLocationOptions(mappedLocations);
8941
8941
  }
8942
8942
  }