Skip to content

Commit

Permalink
Merge pull request #4207 from bjester/bjester/v2023.07.05-patches/2
Browse files Browse the repository at this point in the history
Close nav drawer when clicking to change language
  • Loading branch information
bjester authored Jul 10, 2023
2 parents 178d276 + 5139611 commit 8030319
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<VListTileTitle>{{ $tr('settingsLink') }}</VListTileTitle>
</VListTileContent>
</VListTile>
<VListTile @click="showLanguageModal = true">
<VListTile @click="openLanguageModal">
<VListTileAction>
<Icon>language</Icon>
</VListTileAction>
Expand All @@ -51,8 +51,8 @@
</VListTileContent>
</VListTile>
<VListTile
:href="helpLink"
:tabindex="handleclickTab"
:href="helpLink"
:tabindex="handleclickTab"
target="_blank"
@click="trackClick('Help')"
>
Expand Down Expand Up @@ -163,6 +163,10 @@
trackClick(label) {
this.$analytics.trackClick('general', `User dropdown - ${label}`);
},
openLanguageModal() {
this.drawer = false;
this.showLanguageModal = true;
},
},
$trs: {
channelsLink: 'Channels',
Expand Down

0 comments on commit 8030319

Please sign in to comment.