From 7e5f17aa35585b1e6462e503acb79c0cceedc21b Mon Sep 17 00:00:00 2001 From: kilemensi Date: Thu, 7 Dec 2023 12:45:42 +0300 Subject: [PATCH 1/2] Enable link localisation --- apps/charterafrica/src/payload/blocks/PageHeader.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/charterafrica/src/payload/blocks/PageHeader.js b/apps/charterafrica/src/payload/blocks/PageHeader.js index 5b09c4fe4..771e03026 100644 --- a/apps/charterafrica/src/payload/blocks/PageHeader.js +++ b/apps/charterafrica/src/payload/blocks/PageHeader.js @@ -56,9 +56,10 @@ const PageHeader = { }, }), linkGroup({ - linkConfig: { required: false }, + linkConfig: { disableOpenInNewTab: true, required: false }, overrides: { required: false, + localized: true, admin: { condition: (_, siblingData) => siblingData?.variant === "image", }, From 0b52c769889e7596fbfe2e6e58c4008bc368da20 Mon Sep 17 00:00:00 2001 From: kilemensi Date: Thu, 7 Dec 2023 12:46:31 +0300 Subject: [PATCH 2/2] Bump charterafrica version 0.1.14 -> 0.1.15 --- apps/charterafrica/contrib/dokku/Dockerfile | 2 +- apps/charterafrica/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/charterafrica/contrib/dokku/Dockerfile b/apps/charterafrica/contrib/dokku/Dockerfile index 05908b092..d933ae73f 100644 --- a/apps/charterafrica/contrib/dokku/Dockerfile +++ b/apps/charterafrica/contrib/dokku/Dockerfile @@ -1 +1 @@ -FROM codeforafrica/charterafrica-ui:0.1.14 +FROM codeforafrica/charterafrica-ui:0.1.15 diff --git a/apps/charterafrica/package.json b/apps/charterafrica/package.json index f0e4dba5e..a2aa62a00 100644 --- a/apps/charterafrica/package.json +++ b/apps/charterafrica/package.json @@ -1,6 +1,6 @@ { "name": "charterafrica", - "version": "0.1.14", + "version": "0.1.15", "private": true, "author": "Code for Africa ", "description": "This is the official code for https://charter.africa site",