Skip to content
Snippets Groups Projects

fix(public deposit): [AOU-1741] update date of presentation label for Presentation and Poster

Merged Nicolas.Rod requested to merge rodn-1741-change-presentation-label into master
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
61 @Input()
62 publishedDeposit: PublishedDeposit;
63
59 64 get date(): DepositFormDate {
60 65 if (isNullOrUndefinedOrEmptyArray(this.dates) || isNullOrUndefined(this.type)) {
61 66 return undefined;
62 67 }
63 const label = EnumUtil.getLabel(Enums.Deposit.DateTypesEnumTranslate, this.type);
64 if (isNotNullNorUndefined(label)) {
65 this.labelToTranslate = label;
68
69 if (isNotNullNorUndefined(this.publishedDeposit)
70 && (this.publishedDeposit.subtypeCode === DepositFriendlyNameSubTypeEnum.PRESENTATION_SPEECH
71 || this.publishedDeposit.subtypeCode === DepositFriendlyNameSubTypeEnum.POSTER)
72 && this.type === Enums.Deposit.DateTypesEnum.FIRST_ONLINE) {
73 this.labelToTranslate = LabelTranslateEnum.dateOfPresentation;
  • Florent Poittevin approved this merge request

    approved this merge request

  • Nicolas.Rod added 1 commit

    added 1 commit

    Compare with previous version

  • merged

  • Please register or sign in to reply
    Loading