@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.
@@ -8916,19 +8916,19 @@ function SelectionFilter() {
8916
8916
  });
8917
8917
  if (filteredClient) {
8918
8918
  var _filteredClient$actio, _filteredClient$retur;
8919
- var mappedActions = filteredClient == null || (_filteredClient$actio = filteredClient.actions) == null ? void 0 : _filteredClient$actio.map(function (action) {
8919
+ var mappedActions = Array.isArray(filteredClient == null ? void 0 : filteredClient.actions) ? filteredClient == null || (_filteredClient$actio = filteredClient.actions) == null ? void 0 : _filteredClient$actio.map(function (action) {
8920
8920
  return {
8921
8921
  label: action,
8922
8922
  value: action
8923
8923
  };
8924
- });
8924
+ }) : [];
8925
8925
  setActionTypeOptions(mappedActions);
8926
- var mappedLocations = filteredClient == null || (_filteredClient$retur = filteredClient.return_locations) == null ? void 0 : _filteredClient$retur.map(function (location) {
8926
+ 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) {
8927
8927
  return {
8928
8928
  label: location,
8929
8929
  value: location
8930
8930
  };
8931
- });
8931
+ }) : [];
8932
8932
  setLocationOptions(mappedLocations);
8933
8933
  }
8934
8934
  }