Skip to content

Commit

Permalink
Dont open new TAB when navigating to new contact form.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbrunvoll committed Nov 25, 2024
1 parent 8a47261 commit 74a80c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/shared/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type SomeLink = {
title: string;
};

const { urls, fylkeskommune } = getOrgData();
const { orgId, urls, fylkeskommune } = getOrgData();

export default function Footer({ withoutSettings = false }: FooterProps) {
const { isDarkMode, toggleDarkmode } = useTheme();
Expand Down Expand Up @@ -92,7 +92,7 @@ export default function Footer({ withoutSettings = false }: FooterProps) {
<li>
<a
href={getConfigUrl(urls.supportUrl, language)}
target="_blank"
target={orgId === 'fram' ? undefined : '_blank'}
rel="noreferrer"
>
{t(
Expand Down

0 comments on commit 74a80c0

Please sign in to comment.