Skip to content

Commit

Permalink
fix(pickup): disable load more for postnl myparcel be
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Jul 24, 2024
1 parent 8a1fecc commit 15fa12e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
9 changes: 2 additions & 7 deletions libs/shared/src/config/getSendMyParcelConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {
} from '@myparcel/constants/countries';
import {CarrierName, DeliveryTypeName, PackageTypeName, ShipmentOptionName} from '@myparcel/constants';
import {type PlatformConfiguration} from '../types';
import {AddressField, CarrierSetting, SubscriptionType, CustomDeliveryType, ConfigSetting} from '../data';
import {AddressField, CarrierSetting, SubscriptionType, CustomDeliveryType} from '../data';

// eslint-disable-next-line max-lines-per-function
export const getSendMyParcelConfig = (): PlatformConfiguration => ({
Expand All @@ -53,12 +53,7 @@ export const getSendMyParcelConfig = (): PlatformConfiguration => ({
deliveryCountries: [BELGIUM, NETHERLANDS],
pickupCountries: [BELGIUM, NETHERLANDS],
shipmentOptions: [ShipmentOptionName.OnlyRecipient, ShipmentOptionName.Signature],
features: [
CarrierSetting.DeliveryDaysWindow,
CarrierSetting.DropOffDays,
CarrierSetting.DropOffDelay,
ConfigSetting.PickupMapAllowLoadMore,
],
features: [CarrierSetting.DeliveryDaysWindow, CarrierSetting.DropOffDays, CarrierSetting.DropOffDelay],
fakeDelivery: true,
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ exports[`getPlatformConfig > gets config for platform belgie 1`] = `
"deliveryDaysWindow",
"dropOffDays",
"dropOffDelay",
"pickupMapAllowLoadMore",
],
"name": "postnl",
"packageTypes": [
Expand Down

0 comments on commit 15fa12e

Please sign in to comment.