Skip to content

Commit 426a1f2

Browse files
authored
Merge pull request #421 from MineTrax/claude/logout-button-bug-y1a6wa
fix: logout button not working in profile dropdown
2 parents 8c054ff + f661d47 commit 426a1f2

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

resources/default/js/Components/Navigation/ProfileDropdown.vue

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,13 @@
9595
<div class="border-t border-border my-2" />
9696

9797
<!-- Authentication -->
98-
<form @submit.prevent="emit('logout')">
99-
<jet-dropdown-link
100-
as="button"
101-
btn-class="font-semibold"
102-
>
103-
{{ __("Logout") }}
104-
</jet-dropdown-link>
105-
</form>
98+
<jet-dropdown-link
99+
as="button"
100+
btn-class="font-semibold"
101+
@click="emit('logout')"
102+
>
103+
{{ __("Logout") }}
104+
</jet-dropdown-link>
106105
</ul>
107106
</NavigationMenuLink>
108107
</NavigationMenuContent>

0 commit comments

Comments
 (0)