From 37ccbbe2065d90f60fc1bc0ce2857562f2b9c994 Mon Sep 17 00:00:00 2001
From: ComeF2 <123363885+ComeF2@users.noreply.github.com>
Date: Wed, 1 Feb 2023 23:05:27 +0100
Subject: [PATCH] Petites modifs

---
 Lab1/client.css | 10 ----------
 Lab1/client.js  |  6 ++++--
 2 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/Lab1/client.css b/Lab1/client.css
index bda7475..914dd29 100644
--- a/Lab1/client.css
+++ b/Lab1/client.css
@@ -167,16 +167,6 @@ img {
     width: 460px;
 }
 
-<<<<<<< HEAD
-=======
-#HP_wall{
-    height: 400px;
-    margin-top: 10px;
-    overflow: auto;
-    width: 480px;
-}
-
->>>>>>> cb4e50a33e19b53328badcdf131908693b4ac41b
 #BP_sbutton {
     margin-bottom: 5px;
     margin-top: 10px;
diff --git a/Lab1/client.js b/Lab1/client.js
index 9434494..cc9dacb 100644
--- a/Lab1/client.js
+++ b/Lab1/client.js
@@ -224,9 +224,11 @@ function openTab(tabName) {
 
 function display_wall_info(email, tab) {
   //check if we already have the data stored of if we have to call the server
-  if((localStorage.getItem("browsed_email") === null) || localStorage.getItem("browsed_email") != email || data_user === null) {
+  /*if((localStorage.getItem("browsed_email") === null) || localStorage.getItem("browsed_email") != email || data_user === null) {
     data_user = serverstub.getUserDataByEmail(localStorage.getItem("token"), email);
-  }
+  }*/
+  
+  data_user = serverstub.getUserDataByEmail(localStorage.getItem("token"), email);
   
   if(data_user.success) {
     if(tab == "BP") {
-- 
GitLab