mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-03 15:20:09 -05:00
[web] Close the menu when the volume menu is opened
This commit is contained in:
parent
675b090c0b
commit
acbc335897
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user