Skip to content

Commit

Permalink
FAGSYSTEM-348968 FIX lenke til ettersendelse-sida (#4715)
Browse files Browse the repository at this point in the history
  • Loading branch information
tor-nav authored Oct 4, 2024
1 parent 74951aa commit 6e4ddae
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,13 @@
"dokumentId": "624862995"
}
]
},
{
"type": "vedtak",
"opprettet": "2023-01-31T09:17:24",
"aktørType": "NAV",
"tidslinjeHendelseType": "UTGÅENDE_INNHENT_OPPLYSNINGER",
"dokumenter": [],
"vedtakType": "INNVILGELSE"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { Skjemanummer } from '@navikt/fp-constants';
import { bemUtils } from '@navikt/fp-utils';

import NoeGikkGalt from 'app/components/noe-gikk-galt/NoeGikkGalt';
import OversiktRoutes from 'app/routes/routes';
import { Sak } from 'app/types/Sak';
import { SøkerinfoDTOBarn } from 'app/types/SøkerinfoDTO';
import { Tidslinjehendelse } from 'app/types/Tidslinjehendelse';
Expand Down Expand Up @@ -46,7 +45,6 @@ const Tidslinje: React.FunctionComponent<Params> = ({
manglendeVedleggQuery,
}) => {
const intl = useIntl();
const sakPath = location.pathname.replace(`/${OversiktRoutes.TIDSLINJEN}`, '');

const bem = bemUtils('tidslinje-hendelse');
const førsteUttaksdagISaken =
Expand Down Expand Up @@ -179,7 +177,7 @@ const Tidslinje: React.FunctionComponent<Params> = ({
{hendelse.linkTittel && hendelse.internalUrl && (
<LinkInternal
className={bem.element('medium_font')}
to={`${sakPath}/${hendelse.internalUrl}`}
to={`/sak/${sak.saksnummer}/${hendelse.internalUrl}`}
>
<Button>{hendelse.linkTittel}</Button>
</LinkInternal>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"sakAvsluttet": false,
"kanSøkeOmEndring": true,
"sakTilhørerMor": true,
"sisteSøknadMottattDato": "2023-01-31",
"gjelderAdopsjon": false,
"morUføretrygd": false,
"harAnnenForelderTilsvarendeRettEØS": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,13 @@
}
],
"vedtakType": "INNVILGELSE"
},
{
"type": "vedtak",
"opprettet": "2023-01-31T09:17:24",
"aktørType": "NAV",
"tidslinjeHendelseType": "UTGÅENDE_INNHENT_OPPLYSNINGER",
"dokumenter": [],
"vedtakType": "INNVILGELSE"
}
]

0 comments on commit 6e4ddae

Please sign in to comment.