From f683718404163f2821a474aba030459b049d3205 Mon Sep 17 00:00:00 2001 From: Remko Date: Thu, 29 Feb 2024 10:22:20 +0100 Subject: [PATCH 1/4] hotfix --- pwa/src/apiService/resources/search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwa/src/apiService/resources/search.ts b/pwa/src/apiService/resources/search.ts index 0600228a9..174ced25c 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", )}`; From cafc22c704b58163b4bd91fa518b8181ac88bc0b Mon Sep 17 00:00:00 2001 From: Remko Date: Thu, 29 Feb 2024 10:30:37 +0100 Subject: [PATCH 2/4] hotfix --- pwa/src/templates/templateParts/header/HeaderTemplate.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwa/src/templates/templateParts/header/HeaderTemplate.tsx b/pwa/src/templates/templateParts/header/HeaderTemplate.tsx index 539b66697..f17a57ea2 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} From f7da3b7089871db6ab96e12105513fbd2d44217f Mon Sep 17 00:00:00 2001 From: Remko Date: Thu, 29 Feb 2024 10:42:33 +0100 Subject: [PATCH 3/4] hotfix --- pwa/src/templates/templateParts/header/HeaderTemplate.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwa/src/templates/templateParts/header/HeaderTemplate.tsx b/pwa/src/templates/templateParts/header/HeaderTemplate.tsx index f17a57ea2..b78224f75 100644 --- a/pwa/src/templates/templateParts/header/HeaderTemplate.tsx +++ b/pwa/src/templates/templateParts/header/HeaderTemplate.tsx @@ -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") || From 532e2054b767150dc4a826cbd67c148581795458 Mon Sep 17 00:00:00 2001 From: Remko Date: Thu, 29 Feb 2024 10:48:59 +0100 Subject: [PATCH 4/4] hotfix --- pwa/src/apiService/resources/search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwa/src/apiService/resources/search.ts b/pwa/src/apiService/resources/search.ts index 174ced25c..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") !== "" || window.sessionStorage.getItem("GITHUB_ORGANIZATION_URL") !== "false") { + 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", )}`;