From 3895356b0d1ab04bf3b5453fb5c3c0c7be5c859c Mon Sep 17 00:00:00 2001 From: Ovidiu U Date: Sat, 11 Apr 2026 13:21:27 +0100 Subject: [PATCH] fix: replace Alpine dropdown with Vue reactive state in DashboardLayout Alpine.js is not loaded in the Vue SPA bundle, causing the avatar dropdown to never open and making Settings and Log out inaccessible. Replaced x-data/ x-show/x-transition/@click.away with Vue refs, onMounted/onUnmounted click- outside listener, and Vue's built-in component. Co-Authored-By: Claude Sonnet 4.6 --- .../js/views/dashboard/DashboardLayout.vue | 86 ++++++++++++------- 1 file changed, 56 insertions(+), 30 deletions(-) diff --git a/resources/js/views/dashboard/DashboardLayout.vue b/resources/js/views/dashboard/DashboardLayout.vue index 2ca57a1..4947858 100644 --- a/resources/js/views/dashboard/DashboardLayout.vue +++ b/resources/js/views/dashboard/DashboardLayout.vue @@ -15,42 +15,50 @@ -
+
-
@@ -84,7 +92,7 @@