Skip to content

Commit

Permalink
Merge pull request #3637 from navikt/bugfix/abryt-bestilling
Browse files Browse the repository at this point in the history
Liten fix avbryt bestilling
  • Loading branch information
betsytraran authored Sep 27, 2024
2 parents 956bb0e + 7039c47 commit fd88402
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/dolly-frontend/src/main/js/src/pages/gruppe/Gruppe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import './Gruppe.less'
import { GruppeFeil, GruppeFeilmelding } from '@/pages/gruppe/GruppeFeil/GruppeFeilmelding'
import { ToggleGroup } from '@navikt/ds-react'
import { TestComponentSelectors } from '#/mocks/Selectors'
import { isEmpty } from 'lodash'

export type GruppeProps = {
visning: string
Expand Down Expand Up @@ -108,10 +109,11 @@ export default ({
navigate(`/gruppe/${gruppeId}/bestilling`, { state: values })

const erLaast = gruppe.erLaast

return (
<div className="gruppe-container">
<GruppeHeaderConnector gruppeId={gruppe.id} />
{ikkeFerdigBestillinger && (
{ikkeFerdigBestillinger && !isEmpty(ikkeFerdigBestillinger) && (
// @ts-ignore
<StatusListeConnector gruppeId={gruppe.id} bestillingListe={ikkeFerdigBestillinger} />
)}
Expand Down

0 comments on commit fd88402

Please sign in to comment.