From e12df27215a7447b35ec1ecae9d413c06bab85ee Mon Sep 17 00:00:00 2001
From: Benoit Alessandroni <benoit@happy-dev.fr>
Date: Tue, 26 May 2020 21:17:39 +0200
Subject: [PATCH] Improve user info refresh after account creation

---
 src/scripts/coopstarter.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/scripts/coopstarter.js b/src/scripts/coopstarter.js
index c2efd63f..d018da06 100644
--- a/src/scripts/coopstarter.js
+++ b/src/scripts/coopstarter.js
@@ -744,10 +744,15 @@ document.addEventListener("DOMContentLoaded", event => {
   refreshUser("entrepreneur_profile_creation", "entrepreneur_info");
   refreshUser("entrepreneur_profile_creation", "entrepreneur_contact");
   refreshUser("entrepreneur_profile_creation", "entrepreneur_account_picture");
+  refreshUser("entrepreneur_profile_creation", "entrepreneur_profile_edition");
+  refreshUser("entrepreneur_profile_creation", "entrepreneur_profile_organisation");
+  refreshUser("entrepreneur_profile_creation", "entrepreneur_profile_picture");
   refreshUser("mentor_profile_creation", "mentor_info");
   refreshUser("mentor_profile_creation", "mentor_complementary");
   refreshUser("mentor_profile_creation", "mentor_contact");
   refreshUser("mentor_profile_creation", "mentor_account_picture");
+  refreshUser("mentor_profile_creation", "mentor_profile_edition");
+  refreshUser("mentor_profile_creation", "mentor_profile_organisation");
   refreshUser("entrepreneur_profile_edition", "entrepreneur_info");
   refreshUser("entrepreneur_profile_edition", "entrepreneur_contact");
   refreshUser("entrepreneur_profile_organisation", "entrepreneur_info");
-- 
GitLab