Skip to content

Commit f7cabcd

Browse files
authored
Merge pull request #372 from navikt/Ikke-allergi-obligatorisk
Ikke allergi obligatorisk
2 parents 4ea708c + a5353c2 commit f7cabcd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

force-app/main/default/lwc/courseRegistrationForm/courseRegistrationForm.js

-4
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,6 @@ export default class CourseRegistrationForm extends NavigationMixin(LightningEle
144144
this.showError = true;
145145
return;
146146
}
147-
if (this.allergies && !this.theRecord.allergies) {
148-
this.showError = true;
149-
return;
150-
}
151147
if (this.invoiceAdress && !this.theRecord.invoiceAdress) {
152148
this.showError = true;
153149
return;

0 commit comments

Comments
 (0)