diff --git a/frontend/src/Apps/ScientificPublications/ResearcherProfile.vue b/frontend/src/Apps/ScientificPublications/ResearcherProfile.vue index 26f9e3e..eca4019 100644 --- a/frontend/src/Apps/ScientificPublications/ResearcherProfile.vue +++ b/frontend/src/Apps/ScientificPublications/ResearcherProfile.vue @@ -16,9 +16,13 @@ const statsBy = ref(""); const isFilterOpened = ref(false); const isResearchOpened = ref(false); const articleToDisplay = ref(Object) -const filters = ref([""]) -const researchList = ref(await fetchResearches(1)) +const filters = ref([]); +const researchList = ref(await fetchResearches(1)); let chart; +//todo changer dynamiquement le 1 ici en fct de sur quel profil on est +const researcher = ref(await fetchResearcher(1)); + + const props = defineProps({ @@ -51,8 +55,6 @@ const downloadBibTex = (research) => { const downloadArticle = (research) => { //todo } -//todo changer dynamiquement le 1 ici en fct de sur quel profil on est -const researcher = ref(await fetchResearcher(1)) function downloadCoAuthors(){ const data = JSON.stringify(researcher.value); @@ -154,7 +156,6 @@ function update(){ Stat type :