Skip to content

Commit

Permalink
Merge pull request #253 from navikt/Unngår-feil-ved-innsending-og-ikk…
Browse files Browse the repository at this point in the history
…e-funnet-organisasjon

TOLK-2616 : Unngår feilmelding (men får feilmelding i skjema) ved innsending når det ikke er funnet en organisasjon
  • Loading branch information
olsenrasmus authored Oct 7, 2024
2 parents 7a9721b + 0a4b1ad commit faf3c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion force-app/main/default/lwc/hot_claimForm/hot_claimForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export default class Hot_claimForm extends LightningElement {
validateOrgName() {
let hasErrors = false;
this.template.querySelectorAll('[data-id="orgName"]').forEach((element) => {
if (element.value === '') {
if (element.value === '' || element.value === 'Kunne ikke finne organisasjon') {
hasErrors = true;
this.showErrorOrgNumber();
}
Expand Down

0 comments on commit faf3c58

Please sign in to comment.