From a0cbd5e324ce1521f597eb9583969b42babd2a22 Mon Sep 17 00:00:00 2001 From: ALAMI Adnane Date: Mon, 28 Apr 2025 23:25:54 +0200 Subject: [PATCH] fix: fixing a small bug --- front/MyINPulse-front/src/components/LoginComponent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/MyINPulse-front/src/components/LoginComponent.vue b/front/MyINPulse-front/src/components/LoginComponent.vue index 2fa8af9..bdacae9 100644 --- a/front/MyINPulse-front/src/components/LoginComponent.vue +++ b/front/MyINPulse-front/src/components/LoginComponent.vue @@ -24,7 +24,7 @@ onMounted(() => { if (roles.includes("MyINPulse-admin")) { router.push("/admin"); } else if (roles.includes("MyINPulse-entrepreneur")) { - router.push("/leanCanva"); + router.push("/canvas"); } } catch (err) { console.error("Failed to decode token", err);