fix(public deposit): [AOU-1741] update date of presentation label for Presentation and Poster
1 unresolved thread
Merge request reports
Activity
assigned to @Florent.Poittevin
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; changed this line in version 3 of the diff
Please register or sign in to reply