Skip to content

Commit

Permalink
consistent CV name formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
NikoAnderson committed Mar 6, 2024
1 parent 5c73f1e commit d59129a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/core/substance-form/cv-input/cv-input.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ export class CvInputComponent implements OnInit, OnDestroy {
vocab = this.vocabulary;
}
let vocabName = this.vocabName;
console.log(this.key);
if(this.key && this.key !== '') {
vocabName = this.key;
// wrong format, ignore for now
}
if (this.configService && this.configService.configData && this.configService.configData.CVDisplayOrder && this.configService.configData.CVDisplayOrder[vocabName] ) {
let configOrder = this.configService.configData.CVDisplayOrder[vocabName] ;
Expand All @@ -103,8 +104,7 @@ export class CvInputComponent implements OnInit, OnDestroy {
vocab.unshift(item);
}
});

}
}
this.vocabulary = vocab;
}
}
Expand Down

0 comments on commit d59129a

Please sign in to comment.