Skip to content

Commit

Permalink
Merge pull request #1315 from hlxsites/1311-products-title-metadata-fix
Browse files Browse the repository at this point in the history
1311 products title metadata fix
  • Loading branch information
davenichols-DHLS authored Dec 4, 2024
2 parents 51484cb + 8e81273 commit 0d4f2eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion blocks/product-hero/product-hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ export default async function decorate(block) {
titleEl?.parentElement.parentElement.remove();
const response = await getProductResponse();
if (response?.length > 0) {
document.title = response[0].Title ? response[0].Title : 'Danaher Product';
// Issue : 1311-products-title-metadata-fix
// document.title = response[0].Title ? response[0].Title : 'Danaher Product';
const allImages = response[0]?.raw.images;
const verticalImageGallery = imageSlider(allImages, response[0]?.Title);
const defaultContent = div();
Expand Down

0 comments on commit 0d4f2eb

Please sign in to comment.