Skip to content

Commit 9490258

Browse files
committed
- Remove references to 'sykemelding' from MiljoeInfo.tsx
- Update conditional check to exclude 'sykemelding' in environment validation
1 parent 0b9cfe3 commit 9490258

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • apps/dolly-frontend/src/main/js/src/components/miljoVelger

apps/dolly-frontend/src/main/js/src/components/miljoVelger/MiljoeInfo.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ export const MiljoeInfo = ({ bestillingsdata, dollyEnvironments, tilgjengeligeMi
2222
loading: loadingDokarkiv,
2323
error: errorDokarkiv,
2424
} = useDokarkivEnvironments()
25-
const { instdata, arenaforvalter, pensjonforvalter, sykemelding, dokarkiv } = bestillingsdata
26-
if (!instdata && !arenaforvalter && !pensjonforvalter && !sykemelding && !dokarkiv) {
25+
const { instdata, arenaforvalter, pensjonforvalter, dokarkiv } = bestillingsdata
26+
if (!instdata && !arenaforvalter && !pensjonforvalter && !dokarkiv) {
2727
return null
2828
}
2929

@@ -94,7 +94,6 @@ export const MiljoeInfo = ({ bestillingsdata, dollyEnvironments, tilgjengeligeMi
9494
</li>
9595
)}
9696

97-
{sykemelding && <li>Sykemelding: q1</li>}
9897
</ul>
9998
</StyledAlert>
10099
{pensjonforvalter && bestillingsdata?.environments?.includes('q4') && (

0 commit comments

Comments
 (0)