diff --git a/apps/web/pages/checkout.vue b/apps/web/pages/checkout.vue index dd1d06d5f..8ba3c2737 100644 --- a/apps/web/pages/checkout.vue +++ b/apps/web/pages/checkout.vue @@ -153,7 +153,7 @@ import { AddressType } from '@plentymarkets/shop-api'; import { shippingProviderGetters, paymentProviderGetters } from '@plentymarkets/shop-sdk'; import { SfButton, SfLink, SfCheckbox, SfLoaderCircular } from '@storefront-ui/vue'; -import { keyBy } from 'lodash'; +import _ from 'lodash'; import PayPalExpressButton from '~/components/PayPal/PayPalExpressButton.vue'; import { PayPalCreditCardPaymentKey, PayPalPaymentKey } from '~/composables/usePayPal/types'; @@ -275,7 +275,7 @@ const order = async () => { if (!validateAddresses() || !validateTerms()) { return; } - const paymentMethodsById = keyBy(paymentMethods.value.list, 'id'); + const paymentMethodsById = _.keyBy(paymentMethods.value.list, 'id'); if (paymentMethodsById[selectedPaymentId.value].key === 'plentyPayPal') { paypalCardDialog.value = true;