master #173

Merged
Maxime merged 71 commits from Maxime/Clyde:master into master 2024-04-22 00:07:00 +02:00
Showing only changes of commit 388c53e47b - Show all commits

View File

@ -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 :
<select @change="update()" id="stats-select" v-model="statsOf">
<option value="views">Views</option>
<option value="co-authors">Co-authors</option>
<option value="researches">Researches</option>
<option value="language">Languages</option>
</select>