front add manageProfileApp
This commit is contained in:
		@ -18,4 +18,8 @@ export async function 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"})
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export async function getSelf(){
 | 
			
		||||
    return restGet("/researcher")
 | 
			
		||||
}
 | 
			
		||||
@ -13,6 +13,7 @@ import ResearcherProfile from "@/Apps/ScientificPublications/ResearcherProfile.v
 | 
			
		||||
import AboutStudent from "@/Apps/Inscription/AboutStudent.vue";
 | 
			
		||||
import Msg from "@/Apps/Msg.vue"
 | 
			
		||||
import ManageRequests from "@/Apps/Inscription/ManageRequests.vue";
 | 
			
		||||
import ManageResearcherProfile from "@/Apps/ScientificPublications/ManageResearcherProfile.vue";
 | 
			
		||||
 | 
			
		||||
const apps = {
 | 
			
		||||
		'/login': LoginPage,
 | 
			
		||||
@ -21,7 +22,7 @@ const apps = {
 | 
			
		||||
		'/manage-courses' : Courses,
 | 
			
		||||
		'/users-list' : Users,
 | 
			
		||||
		'/students-list' : Students,
 | 
			
		||||
		'/researcher-profile' : ResearcherProfile,
 | 
			
		||||
		'/manage-researcher-profile' : ManageResearcherProfile,
 | 
			
		||||
		'/msg' : Msg,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -34,7 +35,7 @@ const appsList = {
 | 
			
		||||
		'ManageCourses': { path: '#/manage-courses', icon: 'fa-book', text: i18n("app.manage.courses") },
 | 
			
		||||
		'StudentsList':{ path: '#/students-list',icon: 'fa-users',text: i18n("app.studentList")},
 | 
			
		||||
		'UsersList':{ path: '#/users-list',icon: 'fa-users',text: i18n("app.users")},
 | 
			
		||||
		'ResearcherProfile':{path:'#/researcher-profile',icon:'fa-book-bookmark',text:"hihi"},
 | 
			
		||||
		'ManageResearcherProfile':{path:'#/researcher-profile',icon:'fa-book-bookmark',text:i18n("app.manage.researcherProfile")},
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const currentPath = ref(window.location.hash)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user