From 5139611407220b190ebb8b02ded8cb22ad1850f9 Mon Sep 17 00:00:00 2001 From: Blaine Jester Date: Fri, 7 Jul 2023 11:10:13 -0700 Subject: [PATCH] Close drawer when opening language modal --- .../frontend/shared/views/MainNavigationDrawer.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/contentcuration/contentcuration/frontend/shared/views/MainNavigationDrawer.vue b/contentcuration/contentcuration/frontend/shared/views/MainNavigationDrawer.vue index 2ac62e285d..7f1843ccc5 100644 --- a/contentcuration/contentcuration/frontend/shared/views/MainNavigationDrawer.vue +++ b/contentcuration/contentcuration/frontend/shared/views/MainNavigationDrawer.vue @@ -42,7 +42,7 @@ {{ $tr('settingsLink') }} - + language @@ -51,8 +51,8 @@ @@ -163,6 +163,10 @@ trackClick(label) { this.$analytics.trackClick('general', `User dropdown - ${label}`); }, + openLanguageModal() { + this.drawer = false; + this.showLanguageModal = true; + }, }, $trs: { channelsLink: 'Channels',