Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
barstadEkstern committed Oct 30, 2024
1 parent 67e9211 commit 4c3df13
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,11 @@ default Nav prefillNav(SedDataDto sedData, boolean erCDM4_3) {
if (erCDM4_3) {
switch (sedType) {
case A001, A002, A003, A008, A009, A010 -> {
nav.setArbeidsland(hentArbeidsland(sedData));
nav.setHarfastarbeidssted(harFastArbeidssted ? "ja" : "nei");
List<Arbeidsland> arbeidsland = hentArbeidsland(sedData);
if (!arbeidsland.isEmpty()) {
nav.setArbeidsland(arbeidsland);
nav.setHarfastarbeidssted(harFastArbeidssted ? "ja" : "nei");
}
}
default -> nav.setArbeidssted(hentArbeidssted(sedData));
}
Expand Down

0 comments on commit 4c3df13

Please sign in to comment.