From 1903a6c9be23b374faaaa8c23ac18cca7c517a3a Mon Sep 17 00:00:00 2001 From: Wawilski Date: Fri, 15 Mar 2024 22:47:40 +0100 Subject: [PATCH] "trying functions" --- frontend/src/App.vue | 4 +++- frontend/src/Apps/Profil.vue | 17 +++++++++++++---- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 51ca585..6928571 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -2,7 +2,7 @@ import { toast } from 'vue3-toastify'; import { ref, computed } from 'vue' import i18n, { setLang } from './i18n.js' - + import { getUser } from './rest/Users.js' // Liste des apps import LoginPage from './Apps/Login.vue' @@ -51,6 +51,8 @@
+ +
  • diff --git a/frontend/src/Apps/Profil.vue b/frontend/src/Apps/Profil.vue index 8a38b20..aaa34cb 100644 --- a/frontend/src/Apps/Profil.vue +++ b/frontend/src/Apps/Profil.vue @@ -6,7 +6,12 @@ /* const user = getUser(); */ - const user =reactive({ + const user = getUser(); + + + + + /*reactive({ profilePicture:"/Clyde.png", lastName:"Ghost", firstName:"Clyde", @@ -64,6 +69,10 @@ })*/ const modif = ref(false); +const curric = ref(false); +const unreg = ref(false); +const reg = ref(false); + const toModify = Object.assign({}, user); @@ -100,11 +109,11 @@ function getPP(){
    - - + +
    - +