diff --git a/src/scripts/coopstarter.js b/src/scripts/coopstarter.js index 55d598dc45f8fb2d5bf537984a9f85ead3a2fa8e..e521a25344fb099f0c042eb28309a6dadc00f949 100644 --- a/src/scripts/coopstarter.js +++ b/src/scripts/coopstarter.js @@ -130,6 +130,15 @@ async function refreshUser(formId, listId) { if (account) { account.clearCache(); } + + let profile = await listProxy['entrepreneurProfile']; + // Refresh du cache sur le account du user + if (profile) { + profile.clearCache(); + } else { + profile = await listProxy['mentorProfile']; + profile.clearCache(); + } } }); }