Skip to content

Commit

Permalink
Enable link localisation
Browse files Browse the repository at this point in the history
  • Loading branch information
kilemensi committed Dec 7, 2023
1 parent 5f31074 commit 7e5f17a
Showing 1 changed file with 2 additions and 1 deletion.
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 7e5f17a

Please sign in to comment.