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

@ -91,10 +91,9 @@ function downloadCoAuthors(){
<li>Views : {{article.views}}</li>
<li>Access : {{article.access}}</li>
</ul>
<button @click="console.log(props.article)"> infos</button>
<div id="downloads" v-if="article !== null && !manage">
<div id="downloads" v-if="article.pdfLocation !== null && !manage">
<a :href=downloadPdf() @click.stop="articleClicked" target="_blank">See Research</a>
<a :href=downloadBibTex() @click.stop="emit('modal-close')" target="_blank">See bibTex</a> </div>
<a v-if="article.bibTexLocation !== null" :href=downloadBibTex() @click.stop="emit('modal-close')" target="_blank">See bibTex</a> </div>
</div>
<div v-if="manage">
<div>