Skip to content

Commit

Permalink
Legger til tilleggsinformasjon i saksoversikt
Browse files Browse the repository at this point in the history
  • Loading branch information
ebelegu committed Oct 2, 2024
1 parent d1f1a74 commit add4bee
Show file tree
Hide file tree
Showing 6 changed files with 101 additions and 96 deletions.
2 changes: 1 addition & 1 deletion bruker.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ type Sak {
frister: [ISO8601Date]!
oppgaver: [OppgaveMetadata!]!
nesteSteg: String

tilleggsinformasjon: String
tidslinje: [TidslinjeElement!]!
}

Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@grafana/faro-web-sdk": "1.3.6",
"@navikt/aksel-icons": "^5.17.2",
"@navikt/arbeidsgiver-notifikasjon-widget": "7.0.0",
"@navikt/bedriftsmeny": "6.13.1",
"@navikt/bedriftsmeny": "6.13.2-rc2",
"@navikt/ds-css": "^6.15.0",
"@navikt/ds-icons": "3.4.3",
"@navikt/ds-react": "^6.15.0",
Expand Down
1 change: 1 addition & 0 deletions src/Pages/Saksoversikt/SakPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export const SakPanel = ({
</Tag>
</div>
<Saksoverskrift lenkeTilSak={lenkeTilSak} sak={sak} />
{sak.tilleggsinformasjon !== null ? <BodyShort>{sak.tilleggsinformasjon}</BodyShort> : null}
<div style={{ display: 'flex', gap: '16px' }}>
<BodyShort size="small" style={style}>
<strong>{sak.sisteStatus.tekst}</strong>
Expand Down
1 change: 1 addition & 0 deletions src/Pages/Saksoversikt/useSaker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const HENT_SAKER: TypedDocumentNode<SakerResultat> = gql`
id
merkelapp
tittel
tilleggsinformasjon
lenke
virksomhet {
navn
Expand Down
Loading

0 comments on commit add4bee

Please sign in to comment.