diff --git a/blocks/adp-header/adp-header.js b/blocks/adp-header/adp-header.js index 68444981..7590dd66 100644 --- a/blocks/adp-header/adp-header.js +++ b/blocks/adp-header/adp-header.js @@ -106,21 +106,13 @@ function toggleMenu(nav, navSections, forceExpanded = null) { export default async function decorate(block) { block.textContent = ''; - // change adp-logo href depending on whether user is logged in - let logoHome = null; - if (await window.adobeIMS?.getProfile() != null) { - logoHome = `${getBaseConfigPath()}/` + 'assets'; - } else { - logoHome = `${getBaseConfigPath()}/`; - } - // decorate nav DOM const nav = document.createElement('nav'); nav.id = 'nav'; nav.innerHTML = `