Browse Source

V8-5299 : redirection du premier lien vers le site

Vincent 2 years ago
parent
commit
ded963ab6b
1 changed files with 1 additions and 2 deletions
  1. 1 2
      services/layout/menuBuilder/websiteListMenuBuilder.ts

+ 1 - 2
services/layout/menuBuilder/websiteListMenuBuilder.ts

@@ -18,8 +18,7 @@ export default class WebsiteListMenuBuilder extends AbstractMenuBuilder {
 
     // Add organization website
     if (this.organizationProfile.website) {
-      const url = UrlUtils.join(this.organizationProfile.website, '/typo3')
-      children.push(this.createItem(this.organizationProfile.name as string, undefined, url, MENU_LINK_TYPE.EXTERNAL))
+      children.push(this.createItem(this.organizationProfile.name as string, undefined, this.organizationProfile.website, MENU_LINK_TYPE.EXTERNAL))
     }
 
     // Add parents websites