Merge branch 'front_foundation' of https://gitea.piair.dev/piair/MyINPulse into front_foundation
This commit is contained in:
		| @@ -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); | ||||
|   | ||||
| @@ -13,6 +13,7 @@ | ||||
|         </a> | ||||
|  | ||||
|         <div class="header-actions"> | ||||
|             <button class="return-button" @click="store.logout">Logout</button> | ||||
|             <div ref="dropdownRef" class="dropdown-wrapper"> | ||||
|                 <button class="contact-button" @click.stop="toggleDropdown"> | ||||
|                     Contact | ||||
| @@ -39,6 +40,7 @@ | ||||
| <script setup lang="ts"> | ||||
| import { ref, onMounted, onBeforeUnmount } from "vue"; | ||||
| import axios from "axios"; | ||||
| import { store } from "@/main.ts"; | ||||
|  | ||||
| const IS_MOCK_MODE = true; | ||||
| const dropdownRef = ref<HTMLElement | null>(null); // ref pour le dropdown | ||||
|   | ||||
		Reference in New Issue
	
	Block a user