diff --git a/checkout-ui-custom/checkout6-custom.js b/checkout-ui-custom/checkout6-custom.js index 410b0e7..db928b5 100644 --- a/checkout-ui-custom/checkout6-custom.js +++ b/checkout-ui-custom/checkout6-custom.js @@ -158,8 +158,9 @@ const MAX_TIME_EXPIRATION = 1000 * 60 * 5 // 5 minutes wrap.prepend(`

- +

@@ -188,7 +189,7 @@ const MAX_TIME_EXPIRATION = 1000 * 60 * 5 // 5 minutes app: 'b2b-quotes-graphql', field: 'quoteId', }) - .then(function () { }) + .then(function () {}) }) } } @@ -316,7 +317,6 @@ const MAX_TIME_EXPIRATION = 1000 * 60 * 5 // 5 minutes } const handleSettings = function () { - if (!settings) return if (settings.showPONumber === true) { @@ -444,8 +444,9 @@ const MAX_TIME_EXPIRATION = 1000 * 60 * 5 // 5 minutes const ts = new Date().getTime() $.ajax({ - url: `${rootPath}/_v/private/b2b-checkout-settings/${isWorkspace() ? `?v=${ts}` : '' - }`, + url: `${rootPath}/_v/private/b2b-checkout-settings/${ + isWorkspace() ? `?v=${ts}` : '' + }`, }).then(function (response) { if (Object.keys(response).length === 0) { window.sessionStorage.removeItem('b2b-checkout-settings') @@ -506,4 +507,4 @@ const MAX_TIME_EXPIRATION = 1000 * 60 * 5 // 5 minutes } $(window).on('hashchange', () => initialize()) -})(); +})() diff --git a/yarn.lock b/yarn.lock index 9fe7332..d1e4631 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1430,11 +1430,6 @@ isexe@^2.0.0: resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= -jest-when@^3.5.2: - version "3.5.2" - resolved "https://registry.yarnpkg.com/jest-when/-/jest-when-3.5.2.tgz#651d8a73751ab55c29698d388dffd3460cd52bdc" - integrity sha512-4rDvnhaWh08RcPsoEVXgxRnUIE9wVIbZtGqZ5x2Wm9Ziz9aQs89PipQFmOK0ycbEhVAgiV3MUeTXp3Ar4s2FcQ== - "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"