-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kalendervisning i uttaksplan #4468
base: master
Are you sure you want to change the base?
Conversation
…rte perioder når lagrer til pdf
f5f9bef
to
a56eedf
Compare
...reldrepengesoknad/src/app/steps/uttaksplan/components/info-om-neste-barn/InfoOmNesteBarn.tsx
Outdated
Show resolved
Hide resolved
packages/uttaksplan/src/components/planvisning-toggle/PlanvisningToggle.tsx
Outdated
Show resolved
Hide resolved
packages/uttaksplan/src/components/planvisning-toggle/PlanvisningToggle.tsx
Outdated
Show resolved
Hide resolved
packages/uttaksplan/src/components/uttaksplan-kalender/UttaksplanKalender.tsx
Outdated
Show resolved
Hide resolved
const bem = bemUtils('uttaksplanKalender'); | ||
const periods = getPerioderForKalendervisning(uttaksplan, erFarEllerMedmor, barn); | ||
const unikePeriodColors = [...new Set(periods.map((period) => period.color))]; | ||
const utsettelser = uttaksplan.filter((p) => isUtsettelsesperiode(p)) as Utsettelsesperiode[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
treng du as her? Utsettelser bør vel få same type som uttaksplan?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jeg skjønner ikke hvorfor VSCode klager på linjen under når jeg fjerner as Utsettelsesperiode[] her. :/
packages/uttaksplan/src/components/uttaksplan-kalender/UttaksplanKalender.tsx
Outdated
Show resolved
Hide resolved
packages/uttaksplan/src/components/uttaksplan-kalender/UttaksplanKalender.tsx
Show resolved
Hide resolved
packages/uttaksplan/src/components/uttaksplan-kalender/UttaksplanKalender.tsx
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
No description provided.