diff --git a/pwa/src/apiService/resources/search.ts b/pwa/src/apiService/resources/search.ts index 0600228a9..9d647cdbe 100644 --- a/pwa/src/apiService/resources/search.ts +++ b/pwa/src/apiService/resources/search.ts @@ -23,7 +23,7 @@ export default class Search { endpoint += "&isBasedOn=IS NULL"; } - if (window.sessionStorage.getItem("GITHUB_ORGANIZATION_URL") !== "") { + if (window.sessionStorage.getItem("GITHUB_ORGANIZATION_URL") !== "" && window.sessionStorage.getItem("GITHUB_ORGANIZATION_URL") !== "false") { endpoint += `&embedded.url.embedded.organisation.github=${window.sessionStorage.getItem( "GITHUB_ORGANIZATION_URL", )}`; diff --git a/pwa/src/templates/templateParts/header/HeaderTemplate.tsx b/pwa/src/templates/templateParts/header/HeaderTemplate.tsx index 539b66697..b78224f75 100644 --- a/pwa/src/templates/templateParts/header/HeaderTemplate.tsx +++ b/pwa/src/templates/templateParts/header/HeaderTemplate.tsx @@ -89,7 +89,7 @@ export const HeaderTemplate: React.FC = ({ layoutClassName
- {window.sessionStorage.getItem("HEADER_LOGO_URL") ? ( + {window.sessionStorage.getItem("HEADER_LOGO_URL") !== "false" ? ( navigate("/")} src={window.sessionStorage.getItem("HEADER_LOGO_URL") ?? LogoRotterdam} @@ -123,7 +123,7 @@ export const HeaderTemplate: React.FC = ({ layoutClassName ariaLabel={{ container: t("Jumbotron"), card: t("Jumbotron card") }} role="contentinfo" isCard={window.sessionStorage.getItem("JUMBOTRON_ISCARD") === "true"} - container={window.sessionStorage.getItem("JUMBOTRON_CONTAINER") === "true"} + container={true} subTitle={window.sessionStorage.getItem("JUMBOTRON_SUBTITLE") ?? ""} description={ window.sessionStorage.getItem("JUMBOTRON_DESCRIPTION") ||