mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-03 23:30: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-link>
|
||||||
<control-player-play class="navbar-item" show_disabled_message />
|
<control-player-play class="navbar-item" show_disabled_message />
|
||||||
</template>
|
</template>
|
||||||
<a
|
<a class="navbar-item" @click="toggle">
|
||||||
class="navbar-item"
|
|
||||||
@click="uiStore.show_player_menu = !uiStore.show_player_menu"
|
|
||||||
>
|
|
||||||
<mdicon
|
<mdicon
|
||||||
class="icon"
|
class="icon"
|
||||||
:name="uiStore.show_player_menu ? 'chevron-down' : 'chevron-up'"
|
:name="uiStore.show_player_menu ? 'chevron-down' : 'chevron-up'"
|
||||||
@ -125,6 +122,12 @@ export default {
|
|||||||
current() {
|
current() {
|
||||||
return this.queueStore.current
|
return this.queueStore.current
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
toggle() {
|
||||||
|
this.uiStore.show_player_menu = !this.uiStore.show_player_menu
|
||||||
|
this.uiStore.show_burger_menu = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user