[web] Close the menu when the volume menu is opened

This commit is contained in:
Alain Nussbaumer 2025-02-23 18:34:54 +01:00
parent 675b090c0b
commit acbc335897

View File

@ -32,10 +32,7 @@
</control-link>
<control-player-play class="navbar-item" show_disabled_message />
</template>
<a
class="navbar-item"
@click="uiStore.show_player_menu = !uiStore.show_player_menu"
>
<a class="navbar-item" @click="toggle">
<mdicon
class="icon"
:name="uiStore.show_player_menu ? 'chevron-down' : 'chevron-up'"
@ -125,6 +122,12 @@ export default {
current() {
return this.queueStore.current
}
},
methods: {
toggle() {
this.uiStore.show_player_menu = !this.uiStore.show_player_menu
this.uiStore.show_burger_menu = false
}
}
}
</script>