Skip to content

Commit

Permalink
Infostripe ved ap 6017 (#5421)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashwi authored Dec 12, 2023
1 parent dd025dd commit 4f86849
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion packages/prosess-uttak/src/ui/MainComponent.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import { Heading } from '@navikt/ds-react';
import { Alert, BodyShort, Heading } from '@navikt/ds-react';

import ContainerContract from '../types/ContainerContract';
import lagUttaksperiodeliste from '../util/uttaksperioder';
Expand Down Expand Up @@ -50,6 +50,17 @@ const MainComponent = ({ containerData }: MainComponentProps): JSX.Element => {
</Heading>

<Infostripe harVentAnnenPSBSakAksjonspunkt={harVentAnnenPSBSakAksjonspunkt} />
{overstyringAktiv && (
<Alert variant="warning">
<Heading spacing size="xsmall" level="3">
Vurder overstrying av uttaksgrad
</Heading>
<BodyShort>
Det er lagt til overstyring av uttaksgrad i en tidligere periode. Vurder om det skal legges til overstyring
for nye perioder i uttak.
</BodyShort>
</Alert>
)}

<OverstyrUttakContextProvider>
{erOverstyrer && overstyringAktiv && <OverstyrUttakForm />}
Expand Down

0 comments on commit 4f86849

Please sign in to comment.