Skip to content

Commit

Permalink
fix: storefront setting bun821 error
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianJiang2021 authored and CarlLiu2023 committed Apr 10, 2023
1 parent 04d4ef8 commit a4d75e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/storefront/src/utils/b3Init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ export const getQuoteEnabled = (
productQuoteEnabled = productQuoteEnabled && guestEnabled === '1'
cartQuoteEnabled = cartQuoteEnabled && guestEnabled === '1'
} else if (isB2BUser) {
productQuoteEnabled = b2bUserEnabled === '1'
cartQuoteEnabled = b2bUserEnabled === '1'
productQuoteEnabled = productQuoteEnabled && b2bUserEnabled === '1'
cartQuoteEnabled = cartQuoteEnabled && b2bUserEnabled === '1'
if (`${role}` === '3' && !isAgenting) {
productQuoteEnabled = false
cartQuoteEnabled = false
Expand Down

0 comments on commit a4d75e3

Please sign in to comment.