Skip to content

Commit

Permalink
Merge pull request #1274 from hlxsites/rfq-image
Browse files Browse the repository at this point in the history
rfq no image issue
  • Loading branch information
dev-rajneeshkumar authored Nov 10, 2023
2 parents cdf81ce + f3e68d5 commit 75c59d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blocks/quote-request/quote-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ async function loadIframeForm(data, type) {
sfdcPrimaryApplication = data.title;

// prepare the product image url
if (data.thumbnail) {
if (data.thumbnail && data.thumbnail !== '0') {
productImage = prepImageUrl(data.thumbnail);
}

Expand All @@ -181,7 +181,7 @@ async function loadIframeForm(data, type) {
tab = `${data.productBundle} Bundle`;
productBundle = data.productBundle;
// prepare the product bundle thumbnail url
if (data.bundleThumbnail) {
if (data.bundleThumbnail && data.bundleThumbnail !== '0') {
bundleThumbnail = prepImageUrl(data.bundleThumbnail);
}
} else if (data.type === 'Customer Breakthrough') {
Expand Down

0 comments on commit 75c59d3

Please sign in to comment.