added v-if to bibtex download
This commit is contained in:
@ -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>
|
||||
|
@ -17,11 +17,10 @@ const statsBy = ref("");
|
||||
const isFilterOpened = ref(false);
|
||||
const isResearchOpened = ref(false);
|
||||
const articleToDisplay = ref(Object)
|
||||
const filters = ref([]);
|
||||
const filters = ref();
|
||||
let chart;
|
||||
|
||||
const researcherId = window.location.href.split("=")[1]
|
||||
|
||||
const props = defineProps({
|
||||
filters: ref([]),
|
||||
});
|
||||
|
Reference in New Issue
Block a user