Skip to content

Commit 99bb3e6

Browse files
author
Ievgen Shakhsuvarov
committed
MAGETWO-37495: Wrong behaviour for save new shipping addres during checkout
- CR fix
1 parent 1ecdd07 commit 99bb3e6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

app/code/Magento/Checkout/view/frontend/web/js/view/billing-address.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ define(
1313
'../action/select-billing-address',
1414
'../model/step-navigator',
1515
'../model/quote',
16-
'../model/addresslist',
17-
'mage/translate'
16+
'../model/addresslist'
1817
],
19-
function ($, Component, ko, customer, selectBillingAddress, navigator, quote, addressList, $t) {
18+
function ($, Component, ko, customer, selectBillingAddress, navigator, quote, addressList) {
2019
"use strict";
2120
var stepName = 'billingAddress';
2221
var newAddressSelected = ko.observable(false);
@@ -37,7 +36,7 @@ define(
3736
billingAddresses: function() {
3837
var newAddress = {
3938
getAddressInline: function() {
40-
return $t('New address');
39+
return $.mage.__('New address');
4140
},
4241
customerAddressId: null
4342
},

0 commit comments

Comments
 (0)