+
+
+
\ No newline at end of file
diff --git a/frontend/src/Apps/ScientificPublications/ResearchComponent.vue b/frontend/src/Apps/ScientificPublications/ResearchComponent.vue
index 62babd4..2ba631a 100644
--- a/frontend/src/Apps/ScientificPublications/ResearchComponent.vue
+++ b/frontend/src/Apps/ScientificPublications/ResearchComponent.vue
@@ -67,7 +67,7 @@ async function deleteThisArticle(){
Views : {{article.views}}
Access : {{article.access}}
-
+
diff --git a/frontend/src/Apps/ScientificPublications/ResearcherProfile.vue b/frontend/src/Apps/ScientificPublications/ResearcherProfile.vue
index 68ca685..4c30020 100644
--- a/frontend/src/Apps/ScientificPublications/ResearcherProfile.vue
+++ b/frontend/src/Apps/ScientificPublications/ResearcherProfile.vue
@@ -9,7 +9,8 @@
import { ref, reactive } from "vue";
import FilterComponent from "@/Apps/ScientificPublications/FilterComponent.vue";
import ArticleComponent from "@/Apps/ScientificPublications/ResearchComponent.vue";
-import {fetchResearcher, fetchResearches, fetchStats, addView, getFile} from "@/rest/ScientificPublications/ResearcherProfile.js";
+import {fetchResearcher, fetchResearches, fetchStats, addView} from "@/rest/ScientificPublications/ResearcherProfile.js";
+import {getFile} from "@/rest/ScientificPublications/ManageResearch.js";
const input = ref("");
const statsOf = ref("");
const statsBy = ref("");
diff --git a/frontend/src/rest/ScientificPublications/ManageResearch.js b/frontend/src/rest/ScientificPublications/ManageResearch.js
index f2dd715..094a2b1 100644
--- a/frontend/src/rest/ScientificPublications/ManageResearch.js
+++ b/frontend/src/rest/ScientificPublications/ManageResearch.js
@@ -21,4 +21,13 @@ export async function uploadBibTex(file){
export async function postResearch(data){
return restPost("/research", data)
-}
\ No newline at end of file
+}
+
+export async function fetchResearches(){
+ return restGet("/researches")
+}
+
+export async function getFile(url){
+ const restURL = import.meta.env.VITE_CLYDE_MODE === 'container' ? "http://localhost:8000": import.meta.env.DEV ? "http://localhost:5173" : "https://clyde.herisson.ovh/api"
+ await fetch(restURL + "/"+url, {method: "GET"})
+}
diff --git a/frontend/src/rest/ScientificPublications/ResearcherProfile.js b/frontend/src/rest/ScientificPublications/ResearcherProfile.js
index 29fbe27..57754d6 100644
--- a/frontend/src/rest/ScientificPublications/ResearcherProfile.js
+++ b/frontend/src/rest/ScientificPublications/ResearcherProfile.js
@@ -13,9 +13,4 @@ export async function fetchStats(id){
}
export async function addView(url){
return restPost("/addview/" +url)
-}
-
-export async function getFile(url){
- const restURL = import.meta.env.VITE_CLYDE_MODE === 'container' ? "http://localhost:8000": import.meta.env.DEV ? "http://localhost:5173" : "https://clyde.herisson.ovh/api"
- await fetch(restURL + "/"+url, {method: "GET"})
}
\ No newline at end of file