Skip to content

Commit

Permalink
allow seperate href for widget container links
Browse files Browse the repository at this point in the history
addresses #3140
  • Loading branch information
benphelps committed May 4, 2024
1 parent 5efed2e commit 198835a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/widgets/widget/container_link.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getAllClasses, getInnerBlock, getBottomBlock } from "./container";
export default function ContainerLink({ children = [], options, additionalClassNames = "", target }) {
return (
<a
href={options.url}
href={options.href || options.url}
target={target}
className={`${getAllClasses(options, additionalClassNames)} information-widget-link`}
>
Expand Down

0 comments on commit 198835a

Please sign in to comment.