Skip to content

Commit

Permalink
fix: navbar dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
mwargan committed Mar 6, 2024
1 parent 131f2c0 commit e6b283e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,11 @@ const blur = () => {
<ul>
<template v-if="user.isAuthenticated">
<li>
<details role="list" dir="rtl" ref="detailsElement">
<summary
aria-haspopup="listbox"
role="link"
:aria-busy="user.isLoading"
>
<details class="dropdown" ref="detailsElement">
<summary :aria-busy="user.isLoading">
{{ $t("My Account") }}
</summary>
<ul role="listbox" @click="blur()">
<ul @click="blur()">
<li>
<router-link to="/settings">{{ $t("Settings") }}</router-link>
</li>
Expand Down

0 comments on commit e6b283e

Please sign in to comment.