Skip to content

Commit

Permalink
Merge pull request #665 from CodeForAfrica/fix/charterafrica_pagehead…
Browse files Browse the repository at this point in the history
…er_link_localisation

Fix @/charterafrica `PageHeader` link localization
  • Loading branch information
kilemensi authored Dec 7, 2023
2 parents 5f31074 + 0b52c76 commit f6adb6b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/charterafrica/contrib/dokku/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM codeforafrica/charterafrica-ui:0.1.14
FROM codeforafrica/charterafrica-ui:0.1.15
2 changes: 1 addition & 1 deletion apps/charterafrica/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "charterafrica",
"version": "0.1.14",
"version": "0.1.15",
"private": true,
"author": "Code for Africa <[email protected]>",
"description": "This is the official code for https://charter.africa site",
Expand Down
3 changes: 2 additions & 1 deletion apps/charterafrica/src/payload/blocks/PageHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down

0 comments on commit f6adb6b

Please sign in to comment.