Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions checkout-ui-custom/checkout6-custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,10 @@ const MAX_TIME_EXPIRATION = 1000 * 60 * 5 // 5 minutes
return item.id === 'b2b-quotes-graphql'
})

const hasB2bQuote = index !== -1

if (!hasB2bQuote) return

const { quoteId } = customData.customApps[index].fields

if (index !== -1 && quoteId && parseInt(quoteId, 10) !== 0) {
Expand Down