added v-if to bibtex download

This commit is contained in:
2024-04-19 19:54:51 +02:00
parent be7f42aafe
commit 6077e65b50
3 changed files with 7 additions and 7 deletions

View File

@ -24,13 +24,14 @@ public class ResearchDTO {
private Date releaseDate;
private PaperType paperType;
private String pdfLocation;
private String bibTexLocation;
private String language;
private Access access;
private String domain;
private String summary;
private long views;
private ResearchDTO(String title, ResearcherDTO researcherDTO, Date releaseDate, PaperType paperType, String pdfLocation, String language, Access access, String domain, String summary, long id,long views) {
private ResearchDTO(String title, ResearcherDTO researcherDTO, Date releaseDate, PaperType paperType, String pdfLocation, String language, Access access, String domain,String bibTexLocation, String summary, long id,long views) {
this.title = title;
this.researcher = researcherDTO;
this.releaseDate = releaseDate;
@ -41,6 +42,7 @@ public class ResearchDTO {
this.domain = domain;
this.summary = summary;
this.id = id;
this.bibTexLocation = bibTexLocation;
this.views = views;
}
@ -48,6 +50,6 @@ public class ResearchDTO {
public static ResearchDTO construct(Research research){
return new ResearchDTO(research.getTitle(), ResearcherDTO.construct(research.getAuthor()), research.getReleaseDate(),
research.getPaperType(),research.getPdfLocation(),research.getLanguage(),research.getAccess(),
research.getDomain(), research.getSummary(), research.getId(), research.getViews());
research.getDomain(),research.getBibTexLocation(), research.getSummary(), research.getId(), research.getViews());
}
}