From 8eb6fb12b8c4b85eb34eb628e4d952a38fbebc0f Mon Sep 17 00:00:00 2001 From: vvandenb Date: Thu, 23 Mar 2023 22:15:06 +0100 Subject: [PATCH] * Block update fix --- front/src/components/Profile.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/front/src/components/Profile.svelte b/front/src/components/Profile.svelte index d01cf22..0b4f294 100644 --- a/front/src/components/Profile.svelte +++ b/front/src/components/Profile.svelte @@ -74,6 +74,7 @@ }); if (response.ok) { blockedUsers.push(target); + blockedUsers = blockedUsers await show_popup("User blocked", false); } else { const error = await response.json();